aboutsummaryrefslogtreecommitdiffstats
path: root/code/frontpage/config/_default/config.toml
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2023-02-25 13:15:44 +0100
committerivarlovlie <git@ivarlovlie.no>2023-02-25 13:15:44 +0100
commit900bb5e845c3ad44defbd427cae3d44a4a43321f (patch)
treedf3d96a93771884add571e82336c29fc3d9c7a1c /code/frontpage/config/_default/config.toml
downloadgreatoffice-900bb5e845c3ad44defbd427cae3d44a4a43321f.tar.xz
greatoffice-900bb5e845c3ad44defbd427cae3d44a4a43321f.zip
feat: Initial commit
Diffstat (limited to 'code/frontpage/config/_default/config.toml')
-rw-r--r--code/frontpage/config/_default/config.toml91
1 files changed, 91 insertions, 0 deletions
diff --git a/code/frontpage/config/_default/config.toml b/code/frontpage/config/_default/config.toml
new file mode 100644
index 0000000..20881f8
--- /dev/null
+++ b/code/frontpage/config/_default/config.toml
@@ -0,0 +1,91 @@
+baseurl = "https://greatoffice.life"
+canonifyURLs = false
+disableAliases = true
+disableHugoGeneratorInject = true
+enableEmoji = false
+enableGitInfo = false
+enableRobotsTXT = true
+paginate = 7
+rssLimit = 10
+
+# Multilingual
+defaultContentLanguage = "en"
+disableLanguages = ["de", "nl"]
+# defaultContentLanguageInSubdir = true
+
+# add redirects/headers
+[outputs]
+home = ["HTML", "RSS"]
+section = ["HTML", "RSS", "SITEMAP"]
+
+# add output format for section sitemap.xml
+[outputFormats.SITEMAP]
+mediaType = "application/xml"
+baseName = "sitemap"
+isHTML = false
+isPlainText = true
+noUgly = true
+rel = "sitemap"
+
+[caches]
+ [caches.getjson]
+ dir = ":cacheDir/:project"
+ maxAge = "10s"
+
+[sitemap]
+ changefreq = "weekly"
+ filename = "sitemap.xml"
+ priority = 0.5
+
+[taxonomies]
+ contributor = "contributors"
+ category = "categories"
+ tag = "tags"
+
+[permalinks]
+ blog = "/blog/:title/"
+# docs = "/docs/1.0/:sections[1:]/:title/"
+
+[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
+ min = "0.80.0"
+ max = ""
+ [[module.mounts]]
+ source = "assets"
+ target = "assets"
+ [[module.mounts]]
+ source = "static"
+ target = "static"
+ [[module.mounts]]
+ source = "layouts"
+ target = "layouts"
+ [[module.mounts]]
+ source = "node_modules/flexsearch"
+ target = "assets/js/vendor/flexsearch"
+ [[module.mounts]]
+ source = "node_modules/katex"
+ target = "assets/js/vendor/katex"
+ [[module.mounts]]
+ source = "node_modules/mermaid"
+ target = "assets/js/vendor/mermaid"
+ [[module.mounts]]
+ source = "node_modules/@hyas/images/layouts"
+ target = "layouts"