Skip to content

Commit

Permalink
bugfix: scripts double load on blog and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceOrunitia committed Oct 2, 2024
1 parent ebb53c2 commit fb5d836
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion layouts/blog/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
</div>
{{ partial "footer.html" . }}
</div>
{{ partial "scripts.html" . }}
<script>
const toggleButton = document.querySelector('.td-sidebar__toggle');
const targetCollapse = document.querySelector('#td-section-nav');
Expand Down
1 change: 0 additions & 1 deletion layouts/docs/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
</div>
{{ partial "footer.html" . }}
</div>
{{ partial "scripts.html" . }}
<script>
const toggleButton = document.querySelector('.td-sidebar__toggle');
const targetCollapse = document.querySelector('#td-section-nav');
Expand Down

0 comments on commit fb5d836

Please sign in to comment.