Skip to content

Commit

Permalink
Add tag_type to tag view
Browse files Browse the repository at this point in the history
  • Loading branch information
jimchamp committed Dec 14, 2024
1 parent 7d697be commit 1b8ad73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openlibrary/templates/type/tag/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@
<h1 itemprop="name">
$title
</h1>
<div itemprop="tag-type">
$:_("<strong>Type:</strong> %(tag_type)s", tag_type=tag.tag_type)
</div>
<div itemprop="description">
<strong>$_("Description")</strong>
$:sanitize(format(tag.tag_description))
</div>
<div>
<strong>$_("Tag Body")</strong>
$:sanitize(format(tag.body))
</div>
$if tag.tag_type in get_subject_tag_types():
Expand Down

0 comments on commit 1b8ad73

Please sign in to comment.