From d5210744d60a74cce789894b4e693d3042deb97d Mon Sep 17 00:00:00 2001 From: Sergey Prosin Date: Thu, 26 Jul 2018 15:19:29 +0300 Subject: Added stackoverflow icon --- exampleSite/config.toml | 1 + layouts/_default/social-links.html | 5 +++++ static/img/stackoverflow.svg | 8 ++++++++ 3 files changed, 14 insertions(+) create mode 100644 static/img/stackoverflow.svg diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2e237dc..b8c469d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -34,3 +34,4 @@ googleAnalytics = "UA-123-45" twitter = "twitter_username" facebook = "facebook_username" instagram = "instagram_username" + stackoverflow = "1234567" #StackExchange user number diff --git a/layouts/_default/social-links.html b/layouts/_default/social-links.html index 044feb6..dede321 100644 --- a/layouts/_default/social-links.html +++ b/layouts/_default/social-links.html @@ -18,6 +18,11 @@ twitter + {{ end }} + {{ with .Site.Params.stackoverflow }} + + stackoverflow + {{ end }} {{ with .Site.Params.facebook }} diff --git a/static/img/stackoverflow.svg b/static/img/stackoverflow.svg new file mode 100644 index 0000000..be36014 --- /dev/null +++ b/static/img/stackoverflow.svg @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file -- cgit v1.2.3