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

github.com/yursan9/manis-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraaron <yo@aaron.com.es>2020-12-19 11:54:40 +0300
committeraaron <yo@aaron.com.es>2020-12-19 11:54:40 +0300
commita8c7d97b72507d82d9283cd10f76b8f4d3025198 (patch)
tree0ac00698c177214b4614c2102dd7909dce292ca1
parent7c73ac5a96803df11af66ba3f51ddf72ec2d6b6b (diff)
Adding Twitch to social section
-rw-r--r--layouts/partials/social.html3
-rw-r--r--static/img/twitch.svg1
2 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index bee1e67..b5920fb 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -8,3 +8,6 @@
<a href="{{.}}"><img class="icon-social" src="/img/twitter.svg" alt="Twitter"/></a>
{{ end }}
<a href="{{.Site.RSSLink}}" target="_blank"><img class="icon-social" src="/img/feed.svg" alt="Feed"></a>
+{{ with .Site.Params.Twitch}}
+<a href="{{.}}"><img class="icon-social" src="/img/twitch.svg" alt="Twitch"/></a>
+{{ end }}
diff --git a/static/img/twitch.svg b/static/img/twitch.svg
new file mode 100644
index 0000000..ebdc5fd
--- /dev/null
+++ b/static/img/twitch.svg
@@ -0,0 +1 @@
+<?xml version="1.0" ?><svg height="1792" viewBox="0 0 1792 1792" width="1792" xmlns="http://www.w3.org/2000/svg"><path d="M896 434v434h-145v-434h145zm398 0v434h-145v-434h145zm0 760l253-254v-795h-1194v1049h326v217l217-217h398zm398-1194v1013l-434 434h-326l-217 217h-217v-217h-398v-1158l109-289h1483z"/></svg> \ No newline at end of file