diff --git a/README.md b/README.md index 7ab66b0..64c4f3d 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ copyright = "(c) 2008 - 2014" email = "your@email.com" gaid = "Your Google Analytics ID" twitter = "twitterID" + medium = "mediumUsername" ``` There is also a fixed `About` page on the navbar. Create it using: diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3c1535a..6901bdf 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -26,3 +26,4 @@ copyright = "(c) 2017 - 2018 Aos Dabbagh -- All rights reserved." email = "your@email.com" gaid = "Your Google Analytics ID" twitter = "twitterID" + medium = "mediumUsername" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index f2978f0..d402961 100755 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -26,6 +26,12 @@ {{ end }} + {{ if .Site.Author.medium }} +
  • + Medium +
  • + {{ end }} + ↑↑ RSS