partial fixes

This commit is contained in:
2022-10-24 16:15:18 +02:00
parent 112680323e
commit 421a9fe7fa
4 changed files with 42 additions and 8 deletions

View File

@ -66,13 +66,6 @@
{{ $script := resources.Get "js/script.js" | minify}}
<script src="{{ $script.Permalink }}"></script>
<noscript>
<style>
.preloader {
opacity: 0;
}
</style>
</noscript>
{{ if ($.Scratch.Get "photoswipeloaded") }}
<script src="/js/load-photoswipe.js"></script>

View File

@ -81,4 +81,11 @@
</nav>
</div>
</div>
<noscript>
<style>
.navigation {
background-color: #1a1a37;
}
</style>
</noscript>
</header>

View File

@ -4,4 +4,11 @@
<img src="{{ . | absURL }}" width="222px" alt="preloader">
{{ end }}
</div>
<noscript>
<style>
.preloader {
display: none;
}
</style>
</noscript>
{{ end }}