feat: filter source tags from gallery items, refine date/video overlays

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-19 23:57:11 -04:00
parent 64b13ac490
commit f65e40b711
3 changed files with 22 additions and 6 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
<div class="gallery-thumb"
style="background-image: url('{{ url_for('main.serve_image', filename=(image.thumb_path or image.filepath) | replace('/images/', '') ) }}');"></div>
{% set visible_tags = image.tags | selectattr('kind', 'ne', 'archive') | list %}
{% set visible_tags = image.tags | rejectattr('kind', 'in', ['archive', 'source']) | list %}
{% if visible_tags %}
<div class="tag-overlay">
{% for t in visible_tags %}