diff options
Diffstat (limited to 'templates/section.html')
| -rw-r--r-- | templates/section.html | 25 | 
1 files changed, 25 insertions, 0 deletions
| diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..2a9e863 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} +{% block title %}Section{% endblock %} + +{% block body %} + +<main> +	{{ content}} +</main> + +<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> + +{% endblock %}
\ No newline at end of file | 
