diff options
author | TJ Norred <tjnorred@gmail.com> | 2018-10-31 01:43:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 01:43:45 +0300 |
commit | be0fd956766c140d916396987de84d254ed149ba (patch) | |
tree | 33d91ffb3e7b02ab97b718830aa2edee880e813c | |
parent | fad81412b2cc7ec6a8ac7d3c831843c344fc892a (diff) | |
parent | 9886944420d635bdd2f03fbd7770ef2cc11a9ef4 (diff) |
Merge pull request #1 from tjnorred/tjnorred-patch-1
Tjnorred add more social options
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/partials/_shared/social.html | 8 |
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> |