restore preloader

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

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