mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
💄 style(header): streamline HTML formatting
- remove unnecessary line breaks for cleaner HTML structure - condense noscript and script tags for improved readability
This commit is contained in:
parent
0351af5dc6
commit
98e8c8eb1e
1 changed files with 4 additions and 6 deletions
|
@ -136,12 +136,10 @@
|
|||
<meta property="og:site_name" content="{{ config.title }}">
|
||||
|
||||
{%- 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>
|
||||
<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>
|
||||
{# If JavaScript is disabled, hide the button. #}
|
||||
<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 -%}
|
||||
|
||||
{%- if config.extra.analytics.service -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue