summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-10-17 14:53:15 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2023-10-17 14:53:15 -0600
commit97188a509f922d4d70733c903558992488358f62 (patch)
tree7bb5b3b21f5ddf459e9ecc8c7395cd87fead05cf /templates
parent29a55c75b706c10f9574cccd9a99da055360ad3e (diff)
update template
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index a651ea2..a83e6c3 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -6,8 +6,9 @@
<main>
{{ content}}
+<h2>Recent Posts</h2>
<ul>
-{% for post in posts %}
+{% for post in posts[:5] %}
<li><a href="{{post.link}}">{{ post.title }}</a></li>
<ul>
<li>{{ post.description}}</li>
@@ -20,5 +21,8 @@
{% endfor %}
</ul>
+
+<b>For all posts go to <a href="/posts">Posts</a></b>
+
</main>
-{% endblock %} \ No newline at end of file
+{% endblock %}