fix: theme flash
This commit is contained in:
parent
cf99fba91c
commit
422ac5fb79
5 changed files with 78 additions and 38 deletions
|
@ -104,7 +104,9 @@
|
|||
</script>
|
||||
{% endif %}
|
||||
<script defer data-domain="coryd.dev" src="/js/script.js"></script>
|
||||
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
||||
<script>
|
||||
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }
|
||||
</script>
|
||||
<noscript>
|
||||
<style>
|
||||
.client-side {
|
||||
|
@ -114,6 +116,10 @@
|
|||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
{% capture js %}
|
||||
{% render "../assets/scripts/theme.js" %}
|
||||
{% endcapture %}
|
||||
<script>{{ js }}</script>
|
||||
{{ content }}
|
||||
{% capture js %}
|
||||
{% render "../assets/scripts/index.js" %}
|
||||
|
|
Reference in a new issue