diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-10-25 22:33:48 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-10-25 22:33:48 -0700 |
commit | 1b927231947233f36e71038684c7d5a6da5cceef (patch) | |
tree | b88b2643fae9d0112bdc06f6b6852c7c31f9e673 /src/bin | |
parent | ec630361e25e765285a03931dfae49a478917538 (diff) | |
download | modelthing-1b927231947233f36e71038684c7d5a6da5cceef.tar.gz modelthing-1b927231947233f36e71038684c7d5a6da5cceef.zip |
have webface templates inherit
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/modelthing-webface.rs | 1 |
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); |