Skip to content

Commit

Permalink
Improve title of Bookmark Detail pages
Browse files Browse the repository at this point in the history
Use first ten words of the Bookmark title

Fixes #224
  • Loading branch information
philgyford committed Jan 21, 2025
1 parent 537b86f commit 576b036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ditto/pinboard/templates/pinboard/bookmark_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<h1 class="my-4">
{% block title %}
Pinboard bookmark by {{ bookmark.account.username }}
{{ bookmark.title|truncatewords:10 }}
{% endblock %}
</h1>

Expand Down

0 comments on commit 576b036

Please sign in to comment.