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

github.com/hauke96/hugo-theme-hamburg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--layouts/partials/link.html5
2 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 266114b..2a3b9be 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,7 @@ copyright = "© Copyright notice"
github = "Your GitHub username"
linkedin = "Your LinkedIn username"
facebook = "Your Facebook username"
+ stackoverflow = "Your Stackoverflow profile"
# Google Analytics API key.
ga_api_key = "Your Google Analytics tracking id"
# Mixpanel API key.
diff --git a/layouts/partials/link.html b/layouts/partials/link.html
index b6d4e28..831abae 100644
--- a/layouts/partials/link.html
+++ b/layouts/partials/link.html
@@ -14,6 +14,11 @@
<i class="fa fa-github"></i>
</a>
{{ end }}
+ {{ with .Site.Params.stackoverflow }}
+ <a href="{{ . }}" target="_blank">
+ <i class="fa fa-stack-overflow"></i>
+ </a>
+ {{ end }}
{{ with .Site.Params.linkedin }}
<a href="https://jp.linkedin.com/in/{{ . }}" target="_blank">
<i class="fa fa-linkedin"></i>