restore preloader

This commit is contained in:
Denys Konovalov 2022-03-20 09:58:15 +01:00
parent 618348df68
commit 2eb28e102e

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