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

github.com/danielkvist/hugo-piercer-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielkvist <d94.zaragoza@gmail.com>2019-03-25 16:31:58 +0300
committerdanielkvist <d94.zaragoza@gmail.com>2019-03-25 16:31:58 +0300
commit6de3b9dbf8e4b1ab933d2e0189fd561fa03b86b0 (patch)
treee651327c23fb8ee51a457e56739c1c3bc59f7166 /layouts
parent4fb49082a487a9ce7a9f5b03ebc3ef6fbd01fb7c (diff)
remove unnecessary variable
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/social.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 5bcb16b..44c19d5 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -1,6 +1,6 @@
<section class="social-links">
+
{{ $links := $.Site.Params.Social }}
- {{ $len := (len $links) }}
{{ range $k, $v := $links }}
{{ if $v }}
@@ -11,4 +11,5 @@
</a>
{{ end }}
{{ end }}
+
</section> \ No newline at end of file