68 lines
2.3 KiB
Plaintext
68 lines
2.3 KiB
Plaintext
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
{%- if theme.darkmode %}
|
|
<meta name="theme-color" content="{{ theme.theme_color.light }}" media="(prefers-color-scheme: light)">
|
|
<meta name="theme-color" content="{{ theme.theme_color.dark }}" media="(prefers-color-scheme: dark)">
|
|
{%- else %}
|
|
<meta name="theme-color" content="{{ theme.theme_color.light }}">
|
|
{%- endif %}
|
|
{%- if config.meta_generator %}
|
|
{{- meta_generator() }}
|
|
{%- endif %}
|
|
|
|
{%- if config.preconnect %}
|
|
<link rel="preload" href="{{ url_for(theme.css) }}/main.css" as="style">
|
|
{%- endif %}
|
|
{{ next_pre() }}
|
|
|
|
{%- if theme.favicon.apple_touch_icon %}
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for(theme.favicon.apple_touch_icon) }}">
|
|
{%- endif %}
|
|
{%- if theme.favicon.medium %}
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for(theme.favicon.medium) }}">
|
|
{%- endif %}
|
|
{%- if theme.favicon.small %}
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ url_for(theme.favicon.small) }}">
|
|
{%- endif %}
|
|
{%- if theme.favicon.safari_pinned_tab %}
|
|
<link rel="mask-icon" href="{{ url_for(theme.favicon.safari_pinned_tab) }}" color="{{ theme.theme_color.light }}">
|
|
{%- endif %}
|
|
{%- if theme.favicon.android_manifest %}
|
|
<link rel="manifest" href="{{ url_for(theme.favicon.android_manifest) }}">
|
|
{%- endif %}
|
|
|
|
{%- if theme.google_site_verification %}
|
|
<meta name="google-site-verification" content="{{ theme.google_site_verification }}">
|
|
{%- endif %}
|
|
{%- if theme.bing_site_verification %}
|
|
<meta name="msvalidate.01" content="{{ theme.bing_site_verification }}">
|
|
{%- endif %}
|
|
{%- if theme.yandex_site_verification %}
|
|
<meta name="yandex-verification" content="{{ theme.yandex_site_verification }}">
|
|
{%- endif %}
|
|
{%- if theme.baidu_site_verification %}
|
|
<meta name="baidu-site-verification" content="{{ theme.baidu_site_verification }}">
|
|
{%- endif %}
|
|
|
|
<link rel="stylesheet" href="{{ url_for(theme.css) }}/main.css">
|
|
|
|
{{ next_font() }}
|
|
|
|
{{ next_vendors('fontawesome') }}
|
|
|
|
{%- if theme.motion.enable %}
|
|
{{ next_vendors('animate_css') }}
|
|
{%- endif %}
|
|
|
|
{%- if theme.fancybox %}
|
|
{{ next_vendors('fancybox_css') }}
|
|
{%- endif %}
|
|
|
|
{%- if theme.pace.enable %}
|
|
{{ next_vendors('pace_css') }}
|
|
{{ next_vendors('pace_js') }}
|
|
{%- endif %}
|
|
|
|
{{ next_data('main', next_config()) }}
|
|
{{- next_js('config.js') }}
|