diff options
| author | seth <[email protected]> | 2024-07-19 02:43:02 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-07-19 02:49:14 -0400 |
| commit | f6ac7497c4a44668505341a145909411b7ddc9b5 (patch) | |
| tree | 4f02611d69030c88794594930b600d63b6032fb5 /templates/base.html | |
| parent | efaf6f7b83be6429bf43af8dc590b55bc424cb9b (diff) | |
cleanup templates
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/base.html b/templates/base.html index 9a2c565..9a5f8de 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,7 +1,7 @@ <!doctype html> <html lang="en"> + {% block head %} <head> - {% block head %} <meta charset="UTF-8" /> <title>{% block title %}{% endblock title %}</title> <meta name="viewport" content="width=device-width,initial-scale=1" /> @@ -9,14 +9,14 @@ 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 %} + <link rel="stylesheet" href="/main.css" /> + <link rel="sitemap" href="/sitemap.xml" /> </head> + {% endblock head %} <body> <h1><b>getchoo's website 🦀</b></h1> + {% block nav %} <nav> - {% block nav %} <div id="nav_links"> {% for link in config.extra.nav_links %} <a href="{{ link.url }}">{{ link.name }}</a> @@ -24,13 +24,13 @@ </div> <hr /> - {% endblock nav %} </nav> + {% endblock nav %} {% block content %}{% endblock content %} + {% block footer %} <footer> - {% block footer %} <a href="{{ config.extra.repository_url }}">source code</a> - {% endblock footer %} </footer> + {% endblock footer %} </body> </html> |
