diff options
author | Alan Pearce | 2025-01-25 00:11:44 +0100 |
---|---|---|
committer | Alan Pearce | 2025-01-25 00:11:44 +0100 |
commit | d4aeef9a90777974e73da711b012b8cebff1cb77 (patch) | |
tree | 0adbbc3c925f0acfddae95f27fe77966b65e85ac | |
parent | b1677cfd7cb2a30afaf581d4477e9c00d62a73c2 (diff) | |
download | website-d4aeef9a90777974e73da711b012b8cebff1cb77.tar.lz website-d4aeef9a90777974e73da711b012b8cebff1cb77.tar.zst website-d4aeef9a90777974e73da711b012b8cebff1cb77.zip |
show five posts on homepage
-rw-r--r-- | templates/homepage.templ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/homepage.templ b/templates/homepage.templ index aa61c40..d614c13 100644 --- a/templates/homepage.templ +++ b/templates/homepage.templ @@ -21,7 +21,7 @@ templ Homepage(config *config.Config, posts []content.Post, content string) { </div> <section> <h2>Latest Posts</h2> - @list(posts[0:3]) + @list(posts[0:5]) </section> <section> <h2>Elsewhere on the Internet</h2> |