mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-09-14 06:50:20 +00:00
Fix preload condition for theme preconnect option
This commit is contained in:
parent
4b249983ed
commit
120d41d0fa
@ -10,7 +10,7 @@
|
|||||||
{{- meta_generator() }}
|
{{- meta_generator() }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
{%- if config.preconnect %}
|
{%- if theme.preconnect %}
|
||||||
<link rel="preload" href="{{ url_for(theme.css) }}/main.css" as="style">
|
<link rel="preload" href="{{ url_for(theme.css) }}/main.css" as="style">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{{ next_pre() }}
|
{{ next_pre() }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user