aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorCaio Lente <7017340+clente@users.noreply.github.com>2024-01-04 17:32:06 -0300
committerCaio Lente <7017340+clente@users.noreply.github.com>2024-01-04 17:32:06 -0300
commitbd5d81f18c0fdb9be3506af5a984cac64fae81f2 (patch)
tree54b74eea6e433fb3277bcc8b0e3ce45e1d139eca /layouts
parent0b1713a7d964d941052e55bfefab6bb68389c409 (diff)
downloadhugo-bearcub-bd5d81f18c0fdb9be3506af5a984cac64fae81f2.tar.gz
hugo-bearcub-bd5d81f18c0fdb9be3506af5a984cac64fae81f2.tar.bz2
Update author param
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/social_card.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/social_card.html b/layouts/partials/social_card.html
index c55d56a..74f1b88 100644
--- a/layouts/partials/social_card.html
+++ b/layouts/partials/social_card.html
@@ -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