summaryrefslogtreecommitdiff
path: root/templates/index.html
blob: a651ea2ac52e773dbca0524660d01a76d5a6d583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "base.html" %}
{% block title %}Home{% endblock %}

{% block body %}

<main>
	{{ content}}

<ul>
{% for post in posts %}
	<li><a href="{{post.link}}">{{ post.title }}</a></li>
	<ul>
		<li>{{ post.description}}</li>
		<li>Published On: {{post.date}}</li>
		<li>Tags: 
			{% for tag in post.tags %}
			{{ tag }}{{ ", " if not loop.last else "" }}
			{% endfor %}
	</ul>

{% endfor %}
</ul>
</main>
{% endblock %}