From d12511a02ee85e50fb8384b7fbe955f44d05fa82 Mon Sep 17 00:00:00 2001 From: Yuliya Bagriy Date: Mon, 26 Feb 2024 00:03:11 -0500 Subject: [PATCH] update social links --- hugo.toml | 2 +- layouts/partials/opengraph.html | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hugo.toml b/hugo.toml index 9fac68ae..022dfbb3 100644 --- a/hugo.toml +++ b/hugo.toml @@ -24,7 +24,7 @@ mainSections = ["posts"] [params.social] email = "aviskase@gmail.com" -twitter = "aviskase" +twitter_creator = "@aviskase" [outputs] # Output HTML, and ATOM on Home diff --git a/layouts/partials/opengraph.html b/layouts/partials/opengraph.html index 1d185073..9c72fa01 100644 --- a/layouts/partials/opengraph.html +++ b/layouts/partials/opengraph.html @@ -1,5 +1,7 @@ + + @@ -21,11 +23,13 @@ + {{ else -}} {{- with $.Site.Params.images -}} + {{ end }}{{ end }} {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} @@ -61,4 +65,6 @@ {{ end }} - \ No newline at end of file + +{{- with .Site.Social.twitter_creator -}}{{- end -}} + \ No newline at end of file