diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9f28fb8..d44d415 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -19,10 +19,12 @@ dateform = "Jan 2, 2006" dateformfull = "Mon Jan 2 2006 15:04:05 MST" description = "Example blog" copyright = "Copyright © 2015 Nishanth Shanmugham" +# copyrightUrl = "https://creativecommons.org/licenses/by-sa/4.0/" logofile = "img/logo.png" faviconfile = "img/logo.png" highlightjs = true progressively = true +share = true latestpostcount = 5 github = "example" email = "you@example.com" @@ -31,6 +33,7 @@ twitter = "example" social_banner = "img/banner.png" posts_navigation = true # issoHost = "comments.domain.tld:1234" +# githubRepo = "githubUsername/repositoryName" [params.colors] identifier = "#527fc1f" diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 3123c53..30141fe 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -29,6 +29,14 @@ {{ partial "content" . }}
+ {{ if .Site.Params.share }} +
+ + + + +
+ {{ end }} {{ if .Site.Params.posts_navigation }}