From 0096ed535d58552a3882e6b6672d5944abf40b81 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 20 Jan 2018 14:02:36 +0100 Subject: Refactor index template. Use a vector of show post templates instead of manually decoding posts in the index view. --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 1b40864..151af39 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,2 +1,2 @@

Create new post

-{{# posts }}{{> post_teaser.html }}{{/ posts }} +{{# posts }}{{{ . }}}{{/ posts }} -- cgit v1.2.3