wtfxus-home/themes/roxo-hugo/layouts/partials/counter.html
2023-07-02 21:26:24 +00:00

23 lines
No EOL
664 B
HTML

{{ with .Site.Data.counter }}
{{ if .enable }}
<section class="site-counter" id="counter">
<div class="container">
<div class="row">
<div class="col-12">
<div class="section-title">
<h2 class="text-white">{{ .heading }}</h2>
</div>
</div>
{{ range .counter_item }}
<div class="col-lg-3 col-md-6">
<div class="site-counter-item">
<span class="site-counter-item-title">{{ .title }}</span>
<h3 class="site-counter-item-number">{{ .number }}+</h3>
</div>
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}
{{ end }}