mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-11 03:12:56 +00:00
chore(tpl): migrate support for Hugo Content adaptor in Hugo v0.158+
This commit is contained in:
1 parent
1c3e70a5f5
commit
ec5aca1fdb
1 file changed
+2
-2
@@ -1,5 +1,5 @@
|
||||
{{/* Get the author data from site.Data */}}
|
||||
{{ $authorData := site.Data.authors }}
|
||||
{{/* Get the author data from hugo.Data */}}
|
||||
{{ $authorData := hugo.Data.authors }}
|
||||
|
||||
{{/* Iterate over each author key-value pair */}}
|
||||
{{ range $slug, $profile := $authorData }}
|
||||
|
||||
Reference in new issue
Block a user