feat(indieweb): add hidden h-card

This commit is contained in:
2025-04-08 19:53:34 +07:00
parent a9feece9b7
commit 4e4ad45acd
4 changed files with 127 additions and 1 deletions

View File

@@ -277,3 +277,27 @@ avatar = true
voting = true
page_author_hashes = "" # hash (or list of hashes) of the author.
lazy_loading = true # Loads when the comments are in the viewport (using the Intersection Observer API).
# h-card configuration
# Will identify you on the indieweb (see https://microformats.org/wiki/h-card)
[extra.hcard]
# Enable home page h-card.
enable = true
# Add your email to the card if extra.email is set and not encoded.
with_mail = true
# Add your social links ('socials' config) to the card.
with_social_links = true
# Homepage url. Defaults to the value of 'base_url'.
homepage = "https://zlinux.ru"
avatar = "img/avator.webp"
# Display name, default to the value of 'author'.
full_name = "Zloy Linux"
# Small bio, as shown on social media profiles.
biography = "Linux Man"
#
# You can add any property from https://microformats.org/wiki/h-card#Properties
# Make sure to replace all '-' characters by '_'
# Examples:
p_nickname = "zloy_linux"
# p_locality = "Bordeaux"
p_country_name = "Russia"