Skip to content

Commit

Permalink
feat add creator tag to review and collection
Browse files Browse the repository at this point in the history
  • Loading branch information
mein Name authored and alphatownsman committed Nov 20, 2024
1 parent 27f97cb commit b817d57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions journal/templates/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions journal/templates/review.html
Original file line number Diff line number Diff line change
Expand Up @@ -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" %}
Expand Down

0 comments on commit b817d57

Please sign in to comment.