summaryrefslogtreecommitdiffstats
path: root/exampleSite
diff options
context:
space:
mode:
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'