restore preloader

This commit is contained in:
Denys Konovalov 2022-03-20 09:58:15 +01:00
parent afecb3ceea
commit 0ef4fbfd48

@ -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">
<div class="row">
{{ with .Site.Params.preloader.preloader }} {{ with .Site.Params.preloader.preloader }}
<img width="222px" src="{{ . | absURL }}" alt="preloader"> <img src="{{ . | absURL }}" alt="preloader">
{{ end }} {{ end }}
</div> </div>
<div class="row">
{{ with .Site.Params.preloader.loader }}
<img width="222px" src="{{ . | absURL }}" alt="preloader">
{{ end }}
</div>
</div>
</div>
{{ "<!-- preloader end -->" | safeHTML }} {{ "<!-- preloader end -->" | safeHTML }}
{{ end }} {{ end }}