mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
💄 style(header): improve formatting for theme scripts
- adjust indentation and spacing for better readability
✨ feat(header): add webmentions support
- include webmentions partial if enabled in config
This commit is contained in:
parent
426a50fa7f
commit
324730556d
1 changed files with 11 additions and 4 deletions
|
@ -137,7 +137,9 @@
|
|||
|
||||
{%- if config.extra.theme_switcher and config.extra.theme_switcher == true -%}
|
||||
{# If JavaScript is disabled, hide the button. #}
|
||||
<noscript><link rel="stylesheet" href="{{ get_url(path='no_js.css') | safe }}"/></noscript>
|
||||
<noscript>
|
||||
<link rel="stylesheet" href="{{ get_url(path='no_js.css') | safe }}" />
|
||||
</noscript>
|
||||
<script type="text/javascript" src="{{ get_url(path='js/initializeTheme.min.js') | safe }}"></script>
|
||||
<script defer src="{{ get_url(path='js/themeSwitcher.min.js', trailing_slash=false) | safe }}"></script>
|
||||
{%- endif -%}
|
||||
|
@ -151,6 +153,11 @@
|
|||
<meta name="fediverse:creator" content="@{{ config.extra.fediverse_creator["handle"] }}@{{ config.extra.fediverse_creator["domain"]}}" />
|
||||
{%- endif -%}
|
||||
|
||||
{# Webmentions #}
|
||||
{%- if config.extra.webmentions.enable -%}
|
||||
{%- include "partials/webmentions.html" -%}
|
||||
{%- endif -%}
|
||||
|
||||
{# Search #}
|
||||
{%- if config.build_search_index -%}
|
||||
{%- if config.search.index_format -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue