From 76bf41473d0e92951b74f46d304ba2bb7f46c71b Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Mon, 19 Jun 2023 08:07:23 +0200 Subject: [PATCH] config: update hugo.toml --- config/_default/hugo.toml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 5015559..55b5fd2 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,3 +1,4 @@ +title = "Hyas" baseurl = "/" canonifyURLs = false disableAliases = true @@ -9,20 +10,26 @@ enableRobotsTXT = true languageCode = "en-US" paginate = 7 rssLimit = 10 +summarylength = 20 # 70 (default) + +copyRight = "Copyright (c) 2020-2023 Henk Verlinde" + +[social] + twitter = "gethyas" [outputs] home = ["HTML"] -[caches] - [caches.getjson] - dir = ":cacheDir/:project" - maxAge = "30m" - [sitemap] changefreq = "monthly" filename = "sitemap.xml" priority = 0.5 +[caches] + [caches.getjson] + dir = ":cacheDir/:project" + maxAge = "30m" + [taxonomies] category = "categories" @@ -32,6 +39,7 @@ rssLimit = 10 [minify.tdewolff.html] keepWhitespace = false + [related] threshold = 80 includeNewer = true @@ -40,5 +48,15 @@ rssLimit = 10 name = "categories" weight = 100 [[related.indices]] + name = "tags" + weight = 80 + [[related.indices]] name = "date" weight = 10 + +[imaging] + anchor = 'Smart' + bgColor = '#fff' + hint = 'photo' + quality = 90 + resampleFilter = 'Lanczos'