summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-01-29 10:21:54 +0100
committerRomain Gonçalves <me@rgoncalves.se>2021-01-29 10:21:54 +0100
commitf68cdfdadc13ec697ce1123a64dc99875422dbba (patch)
tree4f3ec66c9b58fd3adf4679e593e4c414898d7a78
parentf84e4092c0578ff242e3fbe9b0e834d99064a37c (diff)
downloadwebsite-f68cdfdadc13ec697ce1123a64dc99875422dbba.tar.gz
Break base template in subtemplates
-rw-r--r--templates/base.html25
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>
- &nbsp;
- <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>
remember that computers suck.