add fediverse authorship

This commit is contained in:
Ariel Richtman 2024-10-10 07:43:54 +07:00
parent 3fddb1f9a1
commit fe03bbc9f3
No known key found for this signature in database
2 changed files with 8 additions and 0 deletions

View file

@ -174,6 +174,11 @@
{%- include "partials/analytics.html" -%}
{%- endif -%}
{# Socials #}
{%- if config.extra.FediverseCreator -%}
<meta name="fediverse:creator" content="@{{ config.extra.FediverseCreator["handle"] }}@{{ config.extra.FediverseCreator["domain"]}}" />
{%- endif -%}
{# Search #}
{%- if config.build_search_index -%}
{%- if config.search.index_format -%}

View file

@ -224,6 +224,9 @@ encode_plaintext_email = true # Setting is ignored if email is already encoded.
# { name = "spotify", url = "https://open.spotify.com/artist/5Hv2bYBhMp1lUHFri06xkE", icon = "spotify" },
# ]
# Fediverse creator attribution
# FediverseCreator = { handle = "welpo", domain = "example.com" }
# Extra menu to show on the footer, below socials section.
# footer_menu = [
# {url = "about", name = "about", trailing_slash = true},