From 51d922a535efa103206ab3657e4e9b3b1a8feb9b Mon Sep 17 00:00:00 2001 From: Reorx Date: Mon, 5 Sep 2022 22:55:05 +0800 Subject: [PATCH] use params.socialAccounts.twitter.username to change twitter meta tag and --- layouts/partials/head.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8eb9f52..1889a85 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -93,8 +93,10 @@ {{- end }} - - +{{- with site.Params.socialAccounts.twitter }} + + +{{- end }} {{- template "partials/templates/opengraph.html" (dict "page" . "pageTitle" $pageTitle) }}