We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d07902 + 00ff061 commit df7578cCopy full SHA for df7578c
hugo.toml
@@ -6,6 +6,8 @@ theme = 'memmachine'
6
defaultContentLanguage = "en"
7
defaultContentLanguageInSubdir = false
8
9
+enableRobotsTXT = true
10
+
11
[permalinks]
12
blogs = "/blog/:year/:month/:title/"
13
themes/memmachine/layouts/robots.txt
@@ -0,0 +1,8 @@
1
+User-agent: *
2
+Allow: /
3
4
+# Sitemap links for the site including multilingual variants
5
+Sitemap: {{ "sitemap.xml" | absURL }}
+{{ range .Site.Languages }}
+Sitemap: {{ printf "/%s/sitemap.xml" .Lang | absURL }}
+{{ end }}
0 commit comments