diff options
author | Lomion0815 <lomion@aon.at> | 2020-11-17 17:59:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 17:59:43 +0300 |
commit | 1e9fd96ea6ac8f2dd1b93f8519fec43978481908 (patch) | |
tree | 32906b63e491301446851d22a4f0d5f13ce8865d /layouts | |
parent | 944ec499586db5c716a923c8696249b40abb6e97 (diff) |
Added self hosted social media icons
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/social.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/partials/social.html b/layouts/partials/social.html index f6da2ef..b269912 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -5,3 +5,16 @@ {{end}} </div> {{ end }} +{{ if .Site.Params.social_static }} +<div> + {{ $base := .Site.BaseURL }} + {{ range $social := .Site.Params.social_static }} + <a href="{{ $social.url }}" name="{{ $social.name }}"> + <img src="{{ $base }}images/{{ $social.icon }}" + width="20" + height="20" + alt="{{ $social.name }}"> + </a> + {{end}} +</div> +{{ end }} |