initial commit
This commit is contained in:
commit
6ccdb684ec
11 changed files with 496 additions and 0 deletions
14
templates/blog_template.html
Normal file
14
templates/blog_template.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>Blog not bombs ;)</h1>
|
||||
<div class="flex-container">
|
||||
{% for post in posts %}
|
||||
<div class="post-container fancy-border">
|
||||
<a href="posts/{{ post['timestamp'] }}.html">
|
||||
<img src="{{ post['pictures'][0] }}" width="200rem" alt="post image from {{ post['datetime'] }}">
|
||||
<p>{{ post['datetime'] }}</p>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue