Skip to content

Commit

Permalink
Move config.js from head tag to the end of body tag
Browse files Browse the repository at this point in the history
  • Loading branch information
kemchenj committed Aug 8, 2023
1 parent 472000f commit a62a2e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion layout/_partials/head/head.njk
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@
{%- endif %}

{{ next_data('main', next_config()) }}
{{- next_js('config.js') }}
2 changes: 2 additions & 0 deletions layout/_scripts/index.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{%- include 'vendors.njk' -%}

{{- next_js('config.js') }}

{%- if theme.injects.comment.length > 0 %}
{{- next_js('comments.js') }}
{%- endif %}
Expand Down

0 comments on commit a62a2e6

Please sign in to comment.