Update author param

This commit is contained in:
Caio Lente 2024-01-04 17:32:06 -03:00
parent 0b1713a7d9
commit bd5d81f18c
No known key found for this signature in database
GPG key ID: E66D381776EFC03A
3 changed files with 13 additions and 13 deletions

View file

@ -13,7 +13,7 @@
)) }}
{{ $date := .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
{{ $author := (default $.Site.Author.name ($.Param "author") ) }}
{{ $author := (default $.Site.Params.author.name ($.Param "author") ) }}
{{ $byline := (printf "%s | %s" $author $date) }}
{{ $fg = $fg.Filter (images.Text $byline (dict