Skip to content

Commit

Permalink
fix: script code should be in head or body, not in between
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakKemble committed Mar 3, 2022
1 parent 5d85ccb commit 2103191
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,7 @@

<script src="{{ site.data.assets[origin].jquery.js }}"></script>

{% unless site.theme_mode %}
{% include mode-toggle.html %}
{% endunless %}
</head>
4 changes: 0 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@

{% include head.html %}

{% unless site.theme_mode %}
{% include mode-toggle.html %}
{% endunless %}

<body data-spy="scroll" data-target="#toc" data-topbar-visible="true">

{% include sidebar.html %}
Expand Down

0 comments on commit 2103191

Please sign in to comment.