summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-19 21:10:35 -0400
committerseth <[email protected]>2024-07-19 21:10:35 -0400
commit86efdd0afb6219298ee7625e73dc1cb6004b7ca4 (patch)
treee537d4a2f5cb59864eed1a60b7278b221006d230 /templates/base.html
parent531455110155d3c86de2aff091f36ebddcb27fa5 (diff)
split up templates
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html32
1 files changed, 3 insertions, 29 deletions
diff --git a/templates/base.html b/templates/base.html
index bbaa05f..b15d5eb 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,36 +1,10 @@
<!doctype html>
<html lang="en">
- {% block head %}
- <head>
- <meta charset="UTF-8" />
- <title>{% block title %}{% endblock title %}</title>
- <meta name="viewport" content="width=device-width,initial-scale=1" />
- <meta
- name="description"
- content="{% block description %}{% endblock description %}"
- />
- <style>{{ load_data(path="static/main.css") | safe }}</style>
- <link rel="sitemap" href="sitemap.xml" />
- </head>
- {% endblock head %}
+ {% include "partials/head.html" %}
<body>
<h1><b>getchoo's website 🦀</b></h1>
- {% block nav %}
- <nav>
- <div id="nav_links">
- {% for link in config.extra.nav_links %}
- <a href="{{ link.url }}">{{ link.name }}</a>
- {% endfor %}
- </div>
-
- <hr />
- </nav>
- {% endblock nav %}
+ {% include "partials/nav.html" %}
{% block content %}{% endblock content %}
- {% block footer %}
- <footer>
- <a href="{{ config.extra.repository_url }}">source code</a>
- </footer>
- {% endblock footer %}
+ {% include "partials/footer.html" %}
</body>
</html>