rev blogpost

This commit is contained in:
Jonathan committed 2025-10-11 12:42:26 +07:00
1 parent 6c5b9cfc24
commit 3857f0bdc0
36 files changed
+398 -43

No files matched your search

@@ -0,0 +1,13 @@
{% extends "layout.html" %}
{% block content %}
<article>
<h2>{{ post['title'] or 'Untitled' }}</h2>
<p>By {{ post['author'] or 'unknown' }}</p>
{% if post['image_filename'] %}
<img src="{{ url_for('uploaded_file', filename=post['image_filename']) }}" style="max-width:400px">
{% endif %}
<p>{{ post['content'] }}</p>
</article>
{% endblock %}