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

github.com/darshanbaral/ghazal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/social.html')
-rw-r--r--layouts/partials/social.html26
1 files changed, 22 insertions, 4 deletions
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 3eeda67..717dead 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -1,7 +1,25 @@
-<div style="display: flex; justify-content: center; align-items: center; margin-top: 1em;">
+<div
+ style="
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin-top: 1em;
+ "
+>
{{ range $key, $val := .Site.Params.social }}
- <div style="width: 40px; height: 40px; margin: 0 0.5em;">
- <a href="{{ $val }}">{{ partial (print "icons/" $key ".html") . }}</a>
- </div>
+
+ <a href="{{ $val }}">
+ <i
+ class="social-icons"
+ style="
+ margin: 0 5px;
+ display: inline-flex;
+ padding: 10px;
+ border-radius: 50%;
+ "
+ >{{ partial (print "icons/" $key ".html") . }}</i
+ ></a
+ >
+
{{ end }}
</div>