From 1b927231947233f36e71038684c7d5a6da5cceef Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 25 Oct 2016 22:33:48 -0700 Subject: have webface templates inherit --- src/bin/modelthing-webface.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/bin/modelthing-webface.rs b/src/bin/modelthing-webface.rs index 0815117..5dc98f8 100644 --- a/src/bin/modelthing-webface.rs +++ b/src/bin/modelthing-webface.rs @@ -55,6 +55,7 @@ fn main() { app.enable_static_file_handling(); debug!("root_path: {}", app.root_path); + app.register_template("base.html"); app.register_template("home.html"); app.get("/", "home", home); app.get("/about/", "about", about); -- cgit v1.2.3