Add jpg's as webp fallback for Safari
Replaced webp backgrounds with jpg's because couldn't figure out how to use Modernizr (detect webp support for CSS fallback) for Hugo. Also added back testimonial section with leader testimonials.
This commit is contained in:
19
layouts/partials/counter.html
Normal file
19
layouts/partials/counter.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ if .Site.Params.counter.enable }}
|
||||
{{"<!-- Start Counter Section -->" | safeHTML}}
|
||||
<section id="counter" class="bg-1 section overly" style='background-image: url("{{ .Site.Params.counter.bgImage | absURL }}")'>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ range .Site.Params.counter.counterItem }}
|
||||
<div class="col-lg-3 col-md-6 col-12 text-center wow fadeInDown" data-wow-duration="500ms">
|
||||
<div class="counters-item">
|
||||
<i class="{{ .icon }}"></i>
|
||||
<span data-speed="3000" data-to="{{ .count }}">{{ .count }}</span>
|
||||
<h3>{{ .title }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{"<!-- /Counter Section -->" | safeHTML}}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user