Move fediverse:creator meta tag higher in head

This commit is contained in:
daudix
2024-10-14 18:47:15 +03:00
parent ee1e1a1997
commit 5f675383e5

View File

@ -15,6 +15,7 @@
{%- if config.extra.comments %} {%- if config.extra.comments %}
<link rel="me" href="https://{{ config.extra.comments.host }}/@{{ config.extra.comments.user }}" /> <link rel="me" href="https://{{ config.extra.comments.host }}/@{{ config.extra.comments.user }}" />
<meta name="fediverse:creator" content="@{{ config.extra.comments.user }}@{{ config.extra.comments.host }}" />
{%- endif %} {%- endif %}
{%- include "partials/favicon.html" %} {%- include "partials/favicon.html" %}
@ -115,10 +116,6 @@
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
{%- if config.extra.comments %}
<meta name="fediverse:creator" content="@{{ config.extra.comments.user }}@{{ config.extra.comments.host }}" />
{%- endif %}
<meta property="og:site_name" content="{{ config.title }}" /> <meta property="og:site_name" content="{{ config.title }}" />
<meta property="og:title" content="{% include 'partials/title.html' %}" /> <meta property="og:title" content="{% include 'partials/title.html' %}" />
<meta property="og:url" content="{{ current_url | default(value='/') | safe }}" /> <meta property="og:url" content="{{ current_url | default(value='/') | safe }}" />