You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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"/>.
The text was updated successfully, but these errors were encountered:
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"/>
.The text was updated successfully, but these errors were encountered: