diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-05-26 23:58:29 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-05-26 23:58:29 +0530 |
commit | bfd3a825c2d73bd842769cdfaf11ad0319a3bd6e (patch) | |
tree | 7b2c052bdf539f433ed3ab6bd133b6d46c7ff7e5 /templates/section.html | |
parent | 2cb28c0dd749611e6edd4688955769bda3381453 (diff) |
added code and content
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 |