restore preloader

This commit is contained in:
Denys Konovalov 2022-03-20 09:58:15 +01:00
parent fbd8c66a5e
commit e234c0a1f4

View File

@ -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 }} {{ end }}
<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>
</div> </div>
{{ "<!-- preloader end -->" | safeHTML }} {{ "<!-- preloader end -->" | safeHTML }}
{{ end }} {{ end }}