diff options
author | Henk Verlinde <henk@ventizo.com> | 2022-06-27 15:41:00 +0300 |
---|---|---|
committer | Henk Verlinde <henk@ventizo.com> | 2022-06-27 15:41:00 +0300 |
commit | 59a3f00529dbacae1882c9a27b38eac7d3a5ef83 (patch) | |
tree | 7c4a7b85830d6b2f1b1522d1bd98a58ba22a72c4 /config | |
parent | 9f2a3fbbc5c2d6b79f0f74287eb2938fe222edbd (diff) |
feat: update blog pages
Diffstat (limited to 'config')
-rw-r--r-- | config/_default/config.toml | 14 | ||||
-rw-r--r-- | config/_default/params.toml | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/config/_default/config.toml b/config/_default/config.toml index 086f8b4..321aa14 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -69,6 +69,20 @@ rel = "sitemap" [minify.tdewolff.html] keepWhitespace = false +[related] + threshold = 80 + includeNewer = true + toLower = false + [[related.indices]] + name = "categories" + weight = 100 + [[related.indices]] + name = "tags" + weight = 80 + [[related.indices]] + name = "date" + weight = 10 + [module] [module.hugoVersion] extended = true diff --git a/config/_default/params.toml b/config/_default/params.toml index 5780d96..3af900c 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -53,6 +53,10 @@ portraitPhotoWidths = [800, 700, 600, 500] lqipWidth = "20x" smallLimit = "300" +### Image template +defaultImage = "default-image.png" # put in `./assets/images/` +fillImage = "1270x740 Center" # normalize image size + # Footer footer = "Powered by <a class=\"text-muted\" href=\"https://www.netlify.com/\">Netlify</a>, <a class=\"text-muted\" href=\"https://gohugo.io/\">Hugo</a>, and <a class=\"text-muted\" href=\"https://getdoks.org/\">Doks</a>" |