diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2017-11-16 17:20:46 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2017-11-16 17:20:46 +0100 |
commit | 44c10f9710632a72427120ccdb9f16ad146574b4 (patch) | |
tree | 66de95370195b352c5e7f993a3e3a65061845fc9 /templates/index.html | |
parent | 114b777b806f793ebfe21895830bae99f524c9d5 (diff) | |
download | rocket-blog-44c10f9710632a72427120ccdb9f16ad146574b4.tar.gz rocket-blog-44c10f9710632a72427120ccdb9f16ad146574b4.tar.bz2 rocket-blog-44c10f9710632a72427120ccdb9f16ad146574b4.zip |
Render post teasers using partial.
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html index a4279bd..2a3a95b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,8 +4,6 @@ <title>{{ title }}</title> </head> <body> - <ul> - {{# posts }}<li>{{ .title }}</li>{{/ posts }} - </ul> + {{# posts }}{{> post_teaser.html }}{{/ posts }} </body> </html> |