Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/StaticMania/roxo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/counter.html')
-rw-r--r--layouts/partials/counter.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layouts/partials/counter.html b/layouts/partials/counter.html
new file mode 100644
index 0000000..3e4adba
--- /dev/null
+++ b/layouts/partials/counter.html
@@ -0,0 +1,23 @@
+{{ 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 }} \ No newline at end of file