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

github.com/lgaida/mediumish-gohugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTJ Norred <tjnorred@gmail.com>2018-10-31 01:43:45 +0300
committerGitHub <noreply@github.com>2018-10-31 01:43:45 +0300
commitbe0fd956766c140d916396987de84d254ed149ba (patch)
tree33d91ffb3e7b02ab97b718830aa2edee880e813c
parentfad81412b2cc7ec6a8ac7d3c831843c344fc892a (diff)
parent9886944420d635bdd2f03fbd7770ef2cc11a9ef4 (diff)
Merge pull request #1 from tjnorred/tjnorred-patch-1
Tjnorred add more social options
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/_shared/social.html8
2 files changed, 9 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 4ce4c4c..523e192 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -34,6 +34,8 @@ Currently trying to get this blog running, still don't know what the blog will b
github = "<username>"
linkedin = "<username>"
xing = "<username>"
+ medium = "<username>"
+ twitter = "<username>"
## Main Menu
[[menu.main]]
diff --git a/layouts/partials/_shared/social.html b/layouts/partials/_shared/social.html
index 95ec855..bbdec5a 100644
--- a/layouts/partials/_shared/social.html
+++ b/layouts/partials/_shared/social.html
@@ -8,4 +8,10 @@
{{ with .Site.Params.social.xing }}
<a href="https://www.xing.com/profile/{{.}}"><i class="fab fa-xing social-icon" aria-hidden="true"></i></a>
{{ end }}
-</section> \ No newline at end of file
+ {{ with .Site.Params.social.medium }}
+ <a href="https://www.medium.com/@{{.}}"><i class="fab fa-medium social-icon" aria-hidden="true"></i></a>
+ {{ end }}
+ {{ with .Site.Params.social.twitter }}
+ <a href="https://www.twitter.com/{{.}}"><i class="fab fa-twitter social-icon" aria-hidden="true"></i></a>
+ {{ end }}
+</section>