Right now the template files aren't actually using a templating engine. They need to have a master template that has the nav bar and <html>, <head> and <body> elements embedded. This will reduce the file size of each template.
A good example of templates in action is the inpho/inphosite project. Two good files are the base-nosidebar.html and index.html.
base-nosidebar.html specifies the shell of each page at [https://inpho.cogs.indiana.edu/]. The call to ${next.body()} replaces the inner content with the page that inherits from this template. This is at the top of index.html as <%inherit file="/base-nosidebar.html"/>.
Right now the template files aren't actually using a templating engine. They need to have a master template that has the nav bar and
<html>,<head>and<body>elements embedded. This will reduce the file size of each template.A good example of templates in action is the inpho/inphosite project. Two good files are the base-nosidebar.html and index.html.
base-nosidebar.html specifies the shell of each page at [https://inpho.cogs.indiana.edu/]. The call to
${next.body()}replaces the inner content with the page that inherits from this template. This is at the top of index.html as<%inherit file="/base-nosidebar.html"/>.