From c77d11e1ab4c003d856e1c37d1ec697f3762f035 Mon Sep 17 00:00:00 2001 From: Ethan Marshall Date: Thu, 1 Aug 2024 07:20:05 +0100 Subject: [PATCH] Improve summaries and blog layout --- hugo.toml | 2 ++ themes/risotto/layouts/post/list.html | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/hugo.toml b/hugo.toml index 429e881..0f117fc 100644 --- a/hugo.toml +++ b/hugo.toml @@ -6,6 +6,8 @@ copyright = 'Copyright (C) 2024 - Ethan Marshall' sectionPagesMenu = "main" +summaryLength = 10 + [params] noindex = false diff --git a/themes/risotto/layouts/post/list.html b/themes/risotto/layouts/post/list.html index 658b1eb..af87fe3 100644 --- a/themes/risotto/layouts/post/list.html +++ b/themes/risotto/layouts/post/list.html @@ -7,11 +7,7 @@ {{ range .Pages }}
-

{{ .Title | markdownify }}

- +

{{ .Title | markdownify }} - {{ .Date.Format "2 January 2006" }}