feat: add fediverse creator metadata support (#409)

Add `fediverse_creator` variable to highlight author's fediverse profile in Mastodon link previews.

Co-authored-by: Ariel Richtman <Ariel.Richtman@SilverRailTech.com>
Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
Ariel Richtman
2024-10-10 19:53:39 +07:00
committed by GitHub
parent 3fddb1f9a1
commit 886aa59545
6 changed files with 53 additions and 0 deletions

View File

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