wtfxus-home/themes/roxo-hugo/layouts/partials/counter.html

23 lines
664 B
HTML
Raw Normal View History

2023-07-02 21:26:24 +00:00
{{ 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 }}