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

github.com/uicardiodev/hugo-sodium-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/features.html')
-rw-r--r--layouts/partials/features.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layouts/partials/features.html b/layouts/partials/features.html
new file mode 100644
index 0000000..29b6181
--- /dev/null
+++ b/layouts/partials/features.html
@@ -0,0 +1,18 @@
+{{ $features := .Site.Data.features }}
+{{ $title := $features.title }}
+{{ $description := $features.description }}
+<section id="features" class="text-center py-5">
+ <div class="container">
+ <h2 class="pt-5 h2">{{ $title }}</h2>
+ <p class="text-muted pb-5">{{ $description }}</p>
+ <div class="row justify-content-md-center">
+ {{ range $features.content }}
+ <div class="col-12 col-lg-3 col-md-6 col-sm-12 features">
+ <div class="icon mb-4"><i class="fa fa-{{ .icon }}"></i></div>
+ <h4 class="h4">{{ .title }}</h4>
+ <p class="text-muted">{{ .description }}</p>
+ </div>
+ {{end}}
+ </div>
+ </div>
+</section> \ No newline at end of file