Skip to content

Commit

Permalink
make the theme check the very final stage
Browse files Browse the repository at this point in the history
  • Loading branch information
hry-gh committed Aug 19, 2024
1 parent fff6d78 commit 01b9aa7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,13 @@
</div>
</section>
</div>

<script src="https://files.stork-search.net/releases/v1.6.0/stork.js"></script>
<script>
setTheme()
stork.register("ref-search", "{{config.base_url | safe}}/search.st", {showProgress: false});
</script>

<script src="https://files.stork-search.net/releases/v1.6.0/stork.js"></script>
<script>
stork.register("ref-search", "{{config.base_url | safe}}/search.st", {showProgress: false});
setTheme()
</script>
</body>

Expand Down

0 comments on commit 01b9aa7

Please sign in to comment.