Skip to content

Commit

Permalink
Merge pull request #308 from jamesvandyne/add-tags-to-bridgy-posts
Browse files Browse the repository at this point in the history
Add tags to bookmark details page
  • Loading branch information
jamesvandyne committed Nov 28, 2023
2 parents eb6849d + 52fe279 commit 40c8c60
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/templates/public/entry/bookmark_item.html
Expand Up @@ -27,6 +27,14 @@ <h1 class="p-name text-xl">
<main class="e-content mb-2 pt-2 content max-w-prose">
<blockquote>{{ t_bookmark.quote|linebreaksbr }}</blockquote>
{{ t_entry.e_content|safe }}
{% if t_post.tags.names %}
<ol class="inline help-text">
<li class="inline">Tagged with </li>
{% for tag in t_post.tags.names %}
<li class="inline mr-1"><a href="{% url "public:bookmarks" %}?tag={{ tag }}" class="underline p-category">{{ tag }}</a></li>
{% endfor %}
</ol>
{% endif %}
</main>
{% include "public/fragments/post_footer.html" %}
</div>
Expand Down

0 comments on commit 40c8c60

Please sign in to comment.