diff options
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..cc66cd3 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,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 }}, +			{% endfor %} +	</ul> + +{% endfor %} +</ul> +</main> +{% endblock %}
\ No newline at end of file | 
