add tag page

This commit is contained in:
x
2025-03-19 19:49:59 +01:00
parent b29537d6d8
commit 69ca852379
3 changed files with 65 additions and 0 deletions

15
views/tags.html Normal file
View File

@ -0,0 +1,15 @@
@include(snippets/header)
<div id="main">
<div class="container">
<h3 style="text-align: center;">{{ phrase }}</h3>
<div class="tags">
@each(toptags as toptag)
<div class="tag badge badge-light mr-2">
<span class="toptag_id">{!! toptag.tag !!}</span>
<span class="toptag_tag"><a href="/tag/{!! toptag.tag !!}">{{ toptag.total_items }}</a></span>
</div>
@endeach
</div>
</div>
</div>
@include(snippets/footer)