restore preloader

This commit is contained in:
Denys Konovalov 2022-03-20 09:58:15 +01:00
parent a8458d4bee
commit 6e5a6cc9ae

View File

@ -1,18 +1,9 @@
{{ if .Site.Params.preloader.enable }}
{{ "<!-- preloader start -->" | safeHTML }}
<div class="preloader">
<div class="container">
<div class="row">
{{with .Site.Params.preloader.preloader }}
<img width="222px" src="{{ . | absURL }}" alt="preloader">
{{end}}
</div>
<div class="row">
{{ with .Site.Params.preloader.loader }}
<img width="222px" src="{{ . | absURL }}" alt="preloader">
{{ end }}
</div>
</div>
{{ with .Site.Params.preloader.preloader }}
<img src="{{ . | absURL }}" alt="preloader">
{{ end }}
</div>
{{ "<!-- preloader end -->" | safeHTML }}
{{ end }}