diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-29 11:16:13 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-29 11:16:13 +0200 |
| commit | e10cd65cab6cfcd60f09885aa00f9bb876ca4d1e (patch) | |
| tree | b7f8ff1d17059ba13744d783b8551a0a449395b2 | |
| parent | 5188bea24cfd0e71032c921f916e612bd40fd9c4 (diff) | |
| download | gohugo-theme-ed-e10cd65cab6cfcd60f09885aa00f9bb876ca4d1e.tar.gz | |
Fix url to sitemap in robots.txt file
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | layouts/robots.txt | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6859e89..ac53e00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix margin bottom on the nested unordered lists for page's table of contents - Fix default section type for the `params.mainSections` configuration variable +- Fix url to sitemap in robots.txt file ## v0.1.0 - 2022-05-27 diff --git a/layouts/robots.txt b/layouts/robots.txt index eb66085..75dae91 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -6,7 +6,7 @@ Allow: / Disallow: /404.html Disallow: /thanks -Sitemap: {{ "/stemap.xml" | absURL }} +Sitemap: {{ "/sitemap.xml" | absURL }} {{- else }} Disallow: / {{- end }} |
