diff --git a/archetypes/blog/index.md b/archetypes/blog/index.md index 4b95267..b449733 100644 --- a/archetypes/blog/index.md +++ b/archetypes/blog/index.md @@ -8,7 +8,7 @@ comments: true draft: true authors: - - {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }} + - {{ with .Site.Params.author.name }}{{ . }}{{ else }}John Doe{{ end }} categories: - archetype-stuff diff --git a/archetypes/default/index.md b/archetypes/default/index.md index 62154c0..074a962 100644 --- a/archetypes/default/index.md +++ b/archetypes/default/index.md @@ -6,7 +6,7 @@ toc: true comments: false authors: - - {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }} + - {{ with .Site.params.author.name }}{{ . }}{{ else }}John Doe{{ end }} --- diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index 61047a9..a4e6d8f 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -10,13 +10,13 @@ enableGitInfo: true taxonomies: _merge: deep -author: - name: bbaovanc - markup: # this just keeps the bobatheme markup styling _merge: deep params: + author: + name: bbaovanc + # these are for the OpenGraph/Twitter embeds in Hugo description: Example website for bobatheme