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 | 5b2a67fe247496f3106db956964996f771160fc5 (patch) | |
| tree | 7b2c052bdf539f433ed3ab6bd133b6d46c7ff7e5 /templates/index.html | |
| parent | b23df7d5c27ecd02d5f2fe1fa75b08f718101a2a (diff) | |
added code and content
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 | 
