From 2e995c707fbe94a6d4ebf80316f4245520f890b5 Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Wed, 22 Jul 2015 16:49:54 +0200 Subject: [PATCH] Add customizable text to author section in posts --- exampleSite/config.toml | 3 ++- layouts/_default/single.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b40755d..abb283a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -26,7 +26,8 @@ theme = "hugo-cactus-theme" newerPosts = "" readMore = "" copyright = "" - # Sharing options in posts + # Sharing options and author information in posts + aboutAuthor = "I'm an enthusiastic gopher." tweet = "" share = "" # 404 page diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7f8cbf7..cc3128b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -17,7 +17,7 @@
{{ .Site.Params.name }} - {{ .Site.Params.bio }} + {{ .Site.Params.aboutAuthor }}
{{ with .Site.Params.twitter }}{{ end }}