mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
add config & extensions for header and body
This commit is contained in:
parent
68c35b02f8
commit
7b32562f9e
3 changed files with 15 additions and 0 deletions
|
@ -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 = "🌱"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -177,4 +177,8 @@
|
|||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{# Optional extended header content #}
|
||||
{%- if config.extra.extend_header -%}
|
||||
{% include "extend_header.html" %}
|
||||
{%- endif -%}
|
||||
</head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue