aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-10-25 22:33:48 -0700
committerbnewbold <bnewbold@robocracy.org>2016-10-25 22:33:48 -0700
commit1b927231947233f36e71038684c7d5a6da5cceef (patch)
treeb88b2643fae9d0112bdc06f6b6852c7c31f9e673 /src
parentec630361e25e765285a03931dfae49a478917538 (diff)
downloadmodelthing-1b927231947233f36e71038684c7d5a6da5cceef.tar.gz
modelthing-1b927231947233f36e71038684c7d5a6da5cceef.zip
have webface templates inherit
Diffstat (limited to 'src')
-rw-r--r--src/bin/modelthing-webface.rs1
1 files changed, 1 insertions, 0 deletions
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);