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

github.com/forestryio/hugo-theme-novela.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormountainbug95 <tannersmithtn95@gmail.com>2019-10-04 20:08:44 +0300
committermountainbug95 <tannersmithtn95@gmail.com>2019-10-04 20:08:44 +0300
commitd2ba5cf6e9a8702d8a247867ff83828a6c1f9403 (patch)
treed846d9217f42861547196ac8a5760c77a6fb4b16 /layouts
parenta814c828cae109b91112f3fceb380e5c24240b5d (diff)
Rework site social iconssocial-icons
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/social-links/social-links.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/social-links/social-links.html b/layouts/partials/social-links/social-links.html
index eab2bed..c2b483f 100644
--- a/layouts/partials/social-links/social-links.html
+++ b/layouts/partials/social-links/social-links.html
@@ -1,9 +1,9 @@
<div class="social-icon-outer">
<div class="social-icon-container">
- {{ range $component := .Site.Params.social }}
- {{ $path := print "icons/social/" $component.title }}
- <a href="{{ $component.url }}">{{ partial $path $ }}</a>
- <span class="hidden">{{ $component.url }}</span>
+ {{ range $index, $component := .Site.Social }}
+ {{ $path := print "icons/social/" $index }}
+ <a href="{{ . }}">{{ partial $path $ }}</a>
+ <span class="hidden">{{ $component }}</span>
{{ end }}
</div>
</div> \ No newline at end of file