author note

This commit is contained in:
mi
2025-11-06 21:42:20 +10:00
parent be8ea1c34f
commit b0987ceff3
3 changed files with 9 additions and 9 deletions

View File

@@ -8,14 +8,14 @@ COMICS = [
'filename': 'comic-001.png', 'filename': 'comic-001.png',
'date': '2025-01-01', 'date': '2025-01-01',
'alt_text': 'The very first comic', 'alt_text': 'The very first comic',
'transcript': 'This is where your comic journey begins!' 'author_note': 'This is where your comic journey begins!'
}, },
{ {
'number': 2, 'number': 2,
'filename': 'comic-002.png', 'filename': 'comic-002.png',
'date': '2025-01-08', 'date': '2025-01-08',
'alt_text': 'The second comic', 'alt_text': 'The second comic',
'transcript': 'The adventure continues...' 'author_note': 'The adventure continues...'
}, },
{ {
'number': 3, 'number': 3,
@@ -23,6 +23,6 @@ COMICS = [
'filename': 'comic-003.png', 'filename': 'comic-003.png',
'date': '2025-01-15', 'date': '2025-01-15',
'alt_text': 'The third comic', 'alt_text': 'The third comic',
'transcript': 'Things are getting interesting!' 'author_note': 'Things are getting interesting!'
}, },
] ]

View File

@@ -35,10 +35,10 @@
</div> </div>
</div> </div>
{% if comic.transcript %} {% if comic.author_note %}
<div class="comic-transcript"> <div class="comic-transcript">
<h3>Transcript</h3> <h3>Author Note</h3>
<p>{{ comic.transcript }}</p> <p>{{ comic.author_note }}</p>
</div> </div>
{% endif %} {% endif %}
</div> </div>

View File

@@ -35,10 +35,10 @@
</div> </div>
</div> </div>
{% if comic.transcript %} {% if comic.author_note %}
<div class="comic-transcript"> <div class="comic-transcript">
<h3>Transcript</h3> <h3>Author Note</h3>
<p>{{ comic.transcript }}</p> <p>{{ comic.author_note }}</p>
</div> </div>
{% endif %} {% endif %}
</div> </div>