diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 1bd0698..2110a56 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -5,6 +5,7 @@ title = "Cupper" theme = "cupper-hugo-theme" googleAnalytics = "UA-123456789-1" disqusShortname = "yourdiscussshortname" +enableGitInfo = true [taxonomies] tag = "tags" diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index b24cc8e..23e2ac8 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -5,6 +5,7 @@ title: Cupper theme: cupper-hugo-theme googleAnalytics: UA-123456789-1 disqusShortname: yourdiscussshortname +enableGitInfo: true taxonomies: tag: tags diff --git a/layouts/post/single.html b/layouts/post/single.html index 3374cf4..75191c1 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -6,10 +6,19 @@ {{ .Title }} +