aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/meta_links.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-21 15:51:19 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-21 15:51:19 +0200
commitfd2b81e4c3cb7f65ecde85f9436f8eb05ddb9d0a (patch)
tree205f005a40f2b3fba0a93f7e354414f98100f2ea /layouts/partials/meta_links.html
parentfb34cbea3705f3ab7eeb1b07f0dc7caffb0fd23a (diff)
downloadhugo-minimalist-theme-fd2b81e4c3cb7f65ecde85f9436f8eb05ddb9d0a.tar.gz
hugo-minimalist-theme-fd2b81e4c3cb7f65ecde85f9436f8eb05ddb9d0a.tar.bz2
hugo-minimalist-theme-fd2b81e4c3cb7f65ecde85f9436f8eb05ddb9d0a.zip
smaller post rows
Diffstat (limited to 'layouts/partials/meta_links.html')
-rw-r--r--layouts/partials/meta_links.html23
1 files changed, 14 insertions, 9 deletions
diff --git a/layouts/partials/meta_links.html b/layouts/partials/meta_links.html
index 00afc71..1072820 100644
--- a/layouts/partials/meta_links.html
+++ b/layouts/partials/meta_links.html
@@ -1,10 +1,15 @@
-{{ range $key, $val := .Params.meta_links }}
- <a
- class="fr f6 link ba br3 ma2 ph2 pv1 dib w3-text-theme w3-hover-theme ttu"
- href="{{ . }}"
- target="_blank"
- rel="noopener"
- >
- {{ $key }}
- </a>
+{{ with .Params.meta_links }}
+ <div class="cf ph4">
+ {{ range $key, $val := . }}
+ <a
+ class="fr f6 link ba br3 ma2 ph2 pv1 w3-text-theme w3-hover-theme ttu"
+ href="{{ . }}"
+ target="_blank"
+ rel="noopener"
+ >
+ {{ $key }}
+ </a>
+ {{ end }}
+ <div></div>
+ </div>
{{ end }}