summaryrefslogtreecommitdiffstats
path: root/exampleSite
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-23 17:01:52 +0300
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-23 17:01:52 +0300
commitfc07b509fe2da1e9baeb67869bc2fb3992990de4 (patch)
tree15fafad11e13d8132729281994c2dba9eef716c9 /exampleSite
parentbffd956eee9a06c7531b8810b10f0cc4425929fd (diff)
downloadgohugo-theme-ed-fc07b509fe2da1e9baeb67869bc2fb3992990de4.tar.gz
Rework alternate links, add sitemap support
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml10
1 files changed, 8 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 94e1200..648261e 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -7,7 +7,7 @@ theme = ['github.com/sergeyklay/gohugo-theme-ed']
resourceDir = '../resources'
enableRobotsTXT = true
-# kick out RSS, we'll use Atom
+# kick out RSS, we'll use Atom and FEED bellow
disableKinds = ['RSS']
[minify]
@@ -17,7 +17,6 @@ disableKinds = ['RSS']
[outputs]
home = [ 'HTML', 'Atom', 'FEED', 'JSON', 'MANIFEST', 'humanstxt' ]
section = [ 'HTML', 'Atom', 'FEED', 'JSON' ]
- # TODO: SITEMAP
page = [ 'HTML' ]
taxonomy = [ 'HTML' ]
term = [ 'HTML' ]
@@ -87,6 +86,7 @@ disableKinds = ['RSS']
isHTML = false
noUgly = true
permalinkable = false
+ notAlternative = true
[mediaTypes]
[mediaTypes.'text/xml']
@@ -96,6 +96,12 @@ disableKinds = ['RSS']
[mediaTypes.'application/manifest+json']
suffixes = ['webmanifest']
+# Sitemap config
+[sitemap]
+ changefreq = 'weekly'
+ filename = 'sitemap.xml'
+ priority = 0.5
+
[author]
name = 'John Doe'
email = 'john@example.com'