add config & extensions for header and body

This commit is contained in:
Cameron Taylor 2025-05-17 10:23:45 -07:00
parent 68c35b02f8
commit 7b32562f9e
3 changed files with 15 additions and 0 deletions

View file

@ -253,6 +253,12 @@ invert_title_order = false
# Full path after the base URL required. So if you were to place it in "static" it would be "/favicon.png"
favicon = "img/seedling.png"
# Optionally extend the header by supplying an `extend_header.html` template
extend_header = false
# Optionally extend the body by supplying an `extend_body.html` template
extend_body = false
# Add an emoji here to use it as favicon.
# Compatibility: https://caniuse.com/link-icon-svg
favicon_emoji = "🌱"

View file

@ -43,6 +43,11 @@ This variable will hold all the text strings for the language #}
{% endblock main_content %}
</div>
{% include "partials/footer.html" %}
{# Optional extended body content #}
{%- if config.extra.extend_body -%}
{% include "extend_body.html" %}
{%- endif -%}
</body>
</html>

View file

@ -177,4 +177,8 @@
{%- endif -%}
{%- endif -%}
{# Optional extended header content #}
{%- if config.extra.extend_header -%}
{% include "extend_header.html" %}
{%- endif -%}
</head>