mastodon verification

This commit is contained in:
Colmaris 2025-04-01 14:27:39 +02:00
parent 79e967ad6a
commit 0842d9006b
2 changed files with 9 additions and 2 deletions

View file

@ -14,6 +14,7 @@ ignoreErrors = ["additional-script-loading-error"] # ignore error of loading add
# traditional way: theme component resides in directory 'themes'
theme = ["hugo-blog-awesome", "hugo-shortcode-gallery"]
# modern way: pull in theme component as hugo module
#[module]
# Uncomment the next line to build and serve using local theme clone declared in the named Hugo workspace:
@ -90,6 +91,7 @@ theme = ["hugo-blog-awesome", "hugo-shortcode-gallery"]
[Languages.fr-fr.params]
sitename = "Colmaris"
fediverse_creator = "@colmaris@gts.colmaris.fr"
defaultColor = "dark" # set color mode: dark, light, auto
# Setting it to 'auto' applies the color scheme based on the visitor's device color preference.If you don't specify anything, ignore this parameter, or leave it blank,
# the default value is set to 'auto'.

View file

@ -16,3 +16,8 @@
<!-- Mastodon-->
<a rel="me" href="https://gts.colmaris.fr/@colmaris"></a>
<!-- Auteur Mastodon -->
{{ with .Site.Params.fediverse_creator }}
<meta name="fediverse:creator" content="{{ . }}" />
{{ end }}