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

github.com/gundamew/hugo-bingo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBing-Sheng Chen <gundamew@gmail.com>2018-10-10 11:50:04 +0300
committerBing-Sheng Chen <gundamew@gmail.com>2018-10-10 11:50:04 +0300
commit88c00b4203c8ea4ec712251d9b9f94a0acb0a99c (patch)
treedc3a49d935186427a864dcdfb54cc661adb5d1b1
parent99220bd74464030edaa1e4ce41eccff66563775f (diff)
Fix coding style of pull request #1v1.2.2
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/_default/social-links.html4
-rw-r--r--static/img/stackoverflow.svg9
3 files changed, 4 insertions, 11 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index b8c469d..aaffdb9 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -34,4 +34,4 @@ googleAnalytics = "UA-123-45"
twitter = "twitter_username"
facebook = "facebook_username"
instagram = "instagram_username"
- stackoverflow = "1234567" #StackExchange user number
+ stackoverflow = "stackoverflow_user_number"
diff --git a/layouts/_default/social-links.html b/layouts/_default/social-links.html
index dede321..83c8882 100644
--- a/layouts/_default/social-links.html
+++ b/layouts/_default/social-links.html
@@ -19,8 +19,8 @@
<img src="{{ "img/twitter.svg" | absURL }}" alt="twitter">
</a>
{{ end }}
- {{ with .Site.Params.stackoverflow }}
- <a class="social-media" href="https://stackexchange.com/users/{{ . }}/?tab=accounts">
+ {{ with .Site.Params.stackoverflow }}
+ <a class="social-media" href="https://stackoverflow.com/users/{{ . }}">
<img src="{{ "img/stackoverflow.svg" | absURL }}" alt="stackoverflow">
</a>
{{ end }}
diff --git a/static/img/stackoverflow.svg b/static/img/stackoverflow.svg
index be36014..8e4e534 100644
--- a/static/img/stackoverflow.svg
+++ b/static/img/stackoverflow.svg
@@ -1,8 +1 @@
-<?xml version="1.0" encoding="utf-8"?>
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="100px" height="118px">
-<polygon points="84.072,107.351 84.072,75.8 94.588,75.8 94.588,117.869 0,117.869 0,75.8 10.516,75.8
- 10.516,107.351 " />
-<path d="M22.089,72.898l51.458,10.815l2.163-10.292L24.252,62.606L22.089,72.898z M28.897,48.259l47.666,22.199
- l4.44-9.533L33.337,38.726L28.897,48.259z M42.088,24.874l40.405,33.65l6.73-8.081l-40.405-33.65L42.088,24.874z M68.171,0
- l-8.438,6.276l31.381,42.191l8.438-6.276L68.171,0z M21.044,96.833l52.582,0V86.316l-52.582,0V96.833z" />
-</svg> \ No newline at end of file
+<svg aria-labelledby="simpleicons-stackoverflow-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="simpleicons-stackoverflow-icon">Stack Overflow icon</title><path d="M18.986 21.865v-6.404h2.134V24H1.844v-8.539h2.13v6.404h15.012zM6.111 19.731H16.85v-2.137H6.111v2.137zm.259-4.852l10.48 2.189.451-2.07-10.478-2.187-.453 2.068zm1.359-5.056l9.705 4.53.903-1.95-9.706-4.53-.902 1.936v.014zm2.715-4.785l8.217 6.855 1.359-1.62-8.216-6.853-1.35 1.617-.01.001zM15.751 0l-1.746 1.294 6.405 8.604 1.746-1.294L15.749 0h.002z"/></svg> \ No newline at end of file