diff options
| author | seth <[email protected]> | 2024-05-22 22:00:02 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-05-22 20:45:24 -0600 |
| commit | 8fd8b7e53d59a034706dd7eaad6b608721ce3cdb (patch) | |
| tree | 2ce7e4a8b7eafc9d8550a54aa6d4f34d678d76f5 /templates/base.html | |
| parent | 329bf8a3384474cfe45ecae142dfb7d97b699aa2 (diff) | |
move to zola
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..15e809d --- /dev/null +++ b/templates/base.html @@ -0,0 +1,36 @@ +<!doctype html> +<html lang="en"> + <head> + {% block 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 %}" + /> + <link rel="stylesheet" href="{{ get_url(path='main.css') }}" /> + <link rel="sitemap" href="{{ get_url(path="sitemap.xml") }}" /> + {% endblock head %} + </head> + <body> + <h1><b>getchoo's website 🚀</b></h1> + <nav> + {% block nav %} + <div id="nav_links"> + {% for link in config.extra.nav_links %} + <a href="{{ link.url }}">{{ link.name }}</a> + {% endfor %} + </div> + + <hr /> + {% endblock nav %} + </nav> + {% block content %}{% endblock content %} + <footer> + {% block footer %} + <a href="{{ config.extra.repository_url }}">source code</a> + {% endblock footer %} + </footer> + </body> +</html> |
