about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2025-01-25 00:11:44 +0100
committerAlan Pearce2025-01-25 00:11:44 +0100
commitd4aeef9a90777974e73da711b012b8cebff1cb77 (patch)
tree0adbbc3c925f0acfddae95f27fe77966b65e85ac
parentb1677cfd7cb2a30afaf581d4477e9c00d62a73c2 (diff)
downloadwebsite-d4aeef9a90777974e73da711b012b8cebff1cb77.tar.lz
website-d4aeef9a90777974e73da711b012b8cebff1cb77.tar.zst
website-d4aeef9a90777974e73da711b012b8cebff1cb77.zip
show five posts on homepage
-rw-r--r--templates/homepage.templ2
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>