From b25e5a9608436d603d9bc4d54a35f3764a8f7ece Mon Sep 17 00:00:00 2001 From: miraikumiko Date: Mon, 24 Feb 2025 17:11:52 +0100 Subject: Fixed author meta tag --- hugo.toml | 5 ++--- layouts/partials/seo_tags.html | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/seo_tags.html diff --git a/hugo.toml b/hugo.toml index dd18a8a..d80527c 100644 --- a/hugo.toml +++ b/hugo.toml @@ -88,12 +88,11 @@ enableRobotsTXT = true # Social media. Delete any item you aren't using to make sure it won't show up # in your website's metadata. [params.social] - mastodon = "miraikumiko" # Twitter handle (without '@') - instagram = "miraikumiko" # Facebook Page Admin ID + mastodon = "miraikumiko" # Author metadata. This is mostly used for the RSS feed of your site, but the # email is also added to the footer of each post. You can hide the "reply to" # link by using a `hideReply` param in front matter. [params.author] name = "Mirai Kumiko" - email = "murrr@macaw.me" + email = "miraikumiko@disroot.org" diff --git a/layouts/partials/seo_tags.html b/layouts/partials/seo_tags.html new file mode 100644 index 0000000..07829fd --- /dev/null +++ b/layouts/partials/seo_tags.html @@ -0,0 +1,22 @@ + + + + + + + + + + +{{ if and (and (default false .Site.Params.generateSocialCard) (not (isset .Params "images"))) (eq .Kind "page") }} + {{ partial "social_card.html" . }} +{{ else }} + + {{ template "_internal/opengraph.html" . }} + + + {{ template "_internal/twitter_cards.html" . }} + + + {{ template "_internal/schema.html" . }} +{{ end }} -- cgit v1.2.3