🎉 initial commit

This commit is contained in:
mi
2025-11-06 21:18:44 +10:00
commit e860ff8c40
12 changed files with 747 additions and 0 deletions

26
templates/archive.html Normal file
View File

@@ -0,0 +1,26 @@
{% extends "base.html" %}
{% block content %}
<div class="page-header">
<h1>Comic Archive</h1>
<p>Browse all {{ comics|length }} comics</p>
</div>
<section class="archive-content">
<div class="archive-grid">
{% for comic in comics %}
<div class="archive-item">
<a href="{{ url_for('comic', comic_id=comic.number) }}">
<img src="{{ url_for('static', filename='images/thumbs/' + comic.filename) }}"
alt="{{ comic.title }}"
onerror="this.src='{{ url_for('static', filename='images/' + comic.filename) }}'">
<div class="archive-info">
<h3>#{{ comic.number }}: {{ comic.title }}</h3>
<p class="archive-date">{{ comic.date }}</p>
</div>
</a>
</div>
{% endfor %}
</div>
</section>
{% endblock %}