initial commit
This commit is contained in:
commit
6ccdb684ec
11 changed files with 496 additions and 0 deletions
16
templates/post.html
Normal file
16
templates/post.html
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>{{ post['datetime'] }}</h1>
|
||||
{% for paragraph in post['caption'].split('\n') %}
|
||||
<p>{{ paragraph }}</p>
|
||||
{% endfor %}
|
||||
<ul>
|
||||
{% for picture in post['pictures'] %}
|
||||
<li>
|
||||
<img src="../{{ picture }}" width="400rem">
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue