mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2026-11-10 05:32:05 -06:00
Move site author to under params due to .Site.Author deprecation
See Hugo v0.120.0
This commit is contained in:
3 files changed
+5
-5
No files matched your search
@@ -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 }}
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user