Skip to content

Commit

Permalink
fix: correct the import condition for theme script (#2075)
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfux authored Nov 30, 2024
1 parent 8e55e4d commit a16aa7d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@

<!-- Scripts -->

{% unless site.theme_mode %}
<script src="{{ '/assets/js/dist/theme.min.js' | relative_url }}"></script>
{% endunless %}
<script src="{{ '/assets/js/dist/theme.min.js' | relative_url }}"></script>

{% include js-selector.html lang=lang %}

Expand Down

0 comments on commit a16aa7d

Please sign in to comment.