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
pull/83/head
sixtus 2023-01-01 17:46:34 +01:00
commit efba34e1b1
3 changed files with 12 additions and 13 deletions

View File

@ -23,7 +23,6 @@ markup:
noClasses: false # Use the theme's style sheet
canonifyURLs: true
preserveTaxonomyNames: true
metaDataFormat: yaml
# Configure pagination
@ -133,8 +132,16 @@ menu:
url: https://chaos.social/@dezentrale
weight: 30
sitemap:
changefreq: weekly
filename: sitemap.xml
# Enable generation of robots.txt
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

View File

@ -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