Merge pull request 'Update Theme so it can handle creation of robots.txt and sitemap.xml' (#79) from update-theme into main
Reviewed-on: #79
This commit is contained in:
commit
efba34e1b1
15
config.yaml
15
config.yaml
|
@ -23,7 +23,6 @@ markup:
|
||||||
noClasses: false # Use the theme's style sheet
|
noClasses: false # Use the theme's style sheet
|
||||||
|
|
||||||
canonifyURLs: true
|
canonifyURLs: true
|
||||||
preserveTaxonomyNames: true
|
|
||||||
metaDataFormat: yaml
|
metaDataFormat: yaml
|
||||||
|
|
||||||
# Configure pagination
|
# Configure pagination
|
||||||
|
@ -133,8 +132,16 @@ menu:
|
||||||
url: https://chaos.social/@dezentrale
|
url: https://chaos.social/@dezentrale
|
||||||
weight: 30
|
weight: 30
|
||||||
|
|
||||||
sitemap:
|
|
||||||
changefreq: weekly
|
|
||||||
filename: sitemap.xml
|
|
||||||
|
|
||||||
|
# Enable generation of robots.txt
|
||||||
enableRobotsTXT: true
|
enableRobotsTXT: true
|
||||||
|
|
||||||
|
# Configure sitemap
|
||||||
|
sitemap:
|
||||||
|
# Values are 'always', 'hourly', 'daily',' weekly', 'monthly', 'yearly',
|
||||||
|
# and 'never'. Set to empty string to omit inclusion
|
||||||
|
changefreq: weekly
|
||||||
|
# Adjust filename of sitemap. (default: sitemap.xml)
|
||||||
|
filename: sitemap.xml
|
||||||
|
# Values range from 0.0 to 1.0. Set to -1 to omit inclusion
|
||||||
|
priority: -1
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
User-agent: *
|
|
||||||
Allow: /
|
|
||||||
Sitemap: {{ .Site.BaseURL }}sitemap.xml
|
|
||||||
Disallow: /
|
|
||||||
Allow: /posts/
|
|
||||||
Allow: /termine/
|
|
||||||
Allow: /events/
|
|
||||||
Allow: /dezentrale/
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit a4683dcfc63694ffa101ee4b23566568f81326d7
|
Subproject commit 96e0577b1afd94b5c12bbf3beba040d6fd40e216
|
Reference in New Issue