Support fediverse:creator meta tag

This commit is contained in:
daudix
2024-10-12 00:34:07 +03:00
parent a7e1112791
commit ef3525952e
2 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- Add "DRAFTED" watermark to drafted posts. - Add "DRAFTED" watermark to drafted posts.
- Support `fediverse:creator` meta tag.
### Changed ### Changed

View File

@ -115,6 +115,10 @@
{%- 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 }}" />