diff options
| author | foswret | 2026-08-14 12:21:57 -0500 |
|---|---|---|
| committer | foswret | 2026-08-14 12:21:57 -0500 |
| commit | 2726baea2ec971bb4ee15291a0e031c7ddaa64b9 (patch) | |
| tree | bb1160fd718a3fa420f5f6244a978855e2451d16 /templates/base.html | |
| parent | 76b00b6fdde212d93864e87de2c3759c28844ee5 (diff) | |
Update to Zola 0.23
Can not use {{ page.title }} in base.html for <title> definition, so
moved to more specific template files.
Fix typo in style.css for <pre>, where text was black-on-black.
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/base.html b/templates/base.html index ac9e1af..3e17cdc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,15 +5,15 @@ <meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="stylesheet" href="{{ get_url(path='style.css', cachebust=true) }}"> - <link rel="preconnect" href="https://fonts.bunny.net"> + {% block rss %} <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}"> {% endblock %} + <title> - {% if page.title %} {{ page.title }} | {{ config.title }} - {% elif section.title %} {{ section.title }} | {{ config.title }} - {% elif config.title %} {{ config.title }} - {% else %} Post {% endif %} + {% block title -%} + {{ config.title }} + {%- endblock title %} </title> </head> |
