Skip to content

Commit

Permalink
config: update hugo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
h-enk committed Jun 19, 2023
1 parent 12d2df5 commit 76bf414
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title = "Hyas"
baseurl = "/"
canonifyURLs = false
disableAliases = true
Expand All @@ -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"

Expand All @@ -32,6 +39,7 @@ rssLimit = 10
[minify.tdewolff.html]
keepWhitespace = false


[related]
threshold = 80
includeNewer = true
Expand All @@ -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'

0 comments on commit 76bf414

Please sign in to comment.