diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-01-29 10:21:54 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-01-29 10:21:54 +0100 |
commit | f68cdfdadc13ec697ce1123a64dc99875422dbba (patch) | |
tree | 4f3ec66c9b58fd3adf4679e593e4c414898d7a78 /templates/base.html | |
parent | f84e4092c0578ff242e3fbe9b0e834d99064a37c (diff) | |
download | website-f68cdfdadc13ec697ce1123a64dc99875422dbba.tar.gz |
Break base template in subtemplates
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/templates/base.html b/templates/base.html index 4dd6431..bf52ae1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,31 +8,10 @@ <link href="/style/style.css" rel="stylesheet" type="text/css"> </head> <body> - <header> - <div> - <img src="/logo.png"> - {% if title is defined %} - <h1>{{ title }}</h1> - {% else %} - <h1>rgoncalves.se</h1> - {% endif %} - </div> - <nav> - - <a href="/">home</a> - <a href="/writeups/">writeups</a> - <a href="/services/">services</a> - <a href="/public">public</a> - <a href="http://git.rgoncalves.se">git</a> - <a href="https:/gitlab.com/rgoncalves.se/infrastructure/">infrastructure</a> - </nav> - </header> + {% include "header.html" %} {% block content %} {% endblock %} - <footer class="delimiter"> - <p>Proudly powered by <a target="_blank" href="https://ungleich.ch">ungleich.ch</a>'s servers and dam !</p> - <p>Zero carbon - 100% renewable energy</p> - </footer> + {% include "footer.html" %} </body> </html> |