fix: correct the import condition for theme script (#2075)

This commit is contained in:
Alexander Fuks 2024-11-30 23:34:12 +03:00 committed by GitHub
parent 8e55e4dcb2
commit a16aa7d41e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,9 +99,7 @@
<!-- Scripts --> <!-- Scripts -->
{% unless site.theme_mode %} <script src="{{ '/assets/js/dist/theme.min.js' | relative_url }}"></script>
<script src="{{ '/assets/js/dist/theme.min.js' | relative_url }}"></script>
{% endunless %}
{% include js-selector.html lang=lang %} {% include js-selector.html lang=lang %}