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

github.com/matsuyoshi30/harbor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLomion0815 <lomion@aon.at>2020-11-17 17:59:43 +0300
committerGitHub <noreply@github.com>2020-11-17 17:59:43 +0300
commit1e9fd96ea6ac8f2dd1b93f8519fec43978481908 (patch)
tree32906b63e491301446851d22a4f0d5f13ce8865d /layouts
parent944ec499586db5c716a923c8696249b40abb6e97 (diff)
Added self hosted social media icons
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/social.html13
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 }}