mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Optimize comments.js file loading condition
Co-authored-by: Mimi <stevenjoezhang@gmail.com>
This commit is contained in:
parent
479d2fe9c1
commit
db4947c114
@ -1,6 +1,8 @@
|
|||||||
{%- include 'vendors.njk' -%}
|
{%- include 'vendors.njk' -%}
|
||||||
|
|
||||||
{{- next_js('comments.js') }}
|
{%- if theme.injects.comment.length > 1 %}
|
||||||
|
{{- next_js('comments.js') }}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
{{- next_js('utils.js') }}
|
{{- next_js('utils.js') }}
|
||||||
{%- if theme.motion.enable %}
|
{%- if theme.motion.enable %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user