mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Move site author to under params due to .Site.Author deprecation
See Hugo v0.120.0
This commit is contained in:
parent
0f717e81c0
commit
88adfbdf89
@ -8,7 +8,7 @@ comments: true
|
|||||||
draft: true
|
draft: true
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }}
|
- {{ with .Site.Params.author.name }}{{ . }}{{ else }}John Doe{{ end }}
|
||||||
|
|
||||||
categories:
|
categories:
|
||||||
- archetype-stuff
|
- archetype-stuff
|
||||||
|
@ -6,7 +6,7 @@ toc: true
|
|||||||
comments: false
|
comments: false
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }}
|
- {{ with .Site.params.author.name }}{{ . }}{{ else }}John Doe{{ end }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -10,13 +10,13 @@ enableGitInfo: true
|
|||||||
taxonomies:
|
taxonomies:
|
||||||
_merge: deep
|
_merge: deep
|
||||||
|
|
||||||
author:
|
|
||||||
name: bbaovanc
|
|
||||||
|
|
||||||
markup: # this just keeps the bobatheme markup styling
|
markup: # this just keeps the bobatheme markup styling
|
||||||
_merge: deep
|
_merge: deep
|
||||||
|
|
||||||
params:
|
params:
|
||||||
|
author:
|
||||||
|
name: bbaovanc
|
||||||
|
|
||||||
# these are for the OpenGraph/Twitter embeds in Hugo
|
# these are for the OpenGraph/Twitter embeds in Hugo
|
||||||
description: Example website for bobatheme
|
description: Example website for bobatheme
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user