feat add creator tag to review and collection

This commit is contained in:
mein Name 2024-11-19 23:16:02 -05:00 committed by Henri Dickson
parent 27f97cbe01
commit b817d575bb
2 changed files with 4 additions and 0 deletions

View file

@ -19,6 +19,9 @@
content="{{ collection.owner.display_name }}">
<meta property="og:url" content="{{ request.build_absolute_uri }}">
<meta property="og:image" content="{{ collection.cover|thumb:'normal' }}">
<meta property="og:site_name" content="{{ site_name }}">
<meta name="fediverse:creator"
content="@{{ collection.owner.full_handle }}">
<title>{{ site_name }} - {% trans 'Collection' %} - {{ collection.title }}</title>
{% include "common_libs.html" %}
</head>

View file

@ -18,6 +18,7 @@
<meta property="og:url" content="{{ request.build_absolute_uri }}">
<meta property="og:image" content="{{ review.item.cover|thumb:'normal' }}">
<meta property="og:site_name" content="{{ site_name }}">
<meta name="fediverse:creator" content="@{{ review.owner.full_handle }}">
{% if not identity.anonymous_viewable %}<meta name="robots" content="noindex">{% endif %}
<title>{{ site_name }} {% trans 'Review' %} - {{ review.title }}</title>
{% include "common_libs.html" %}