We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffdd587 commit ea723bbCopy full SHA for ea723bb
2 files changed
layouts/robots.txt
@@ -0,0 +1,4 @@
1
+User-agent: *
2
+Allow: /
3
+
4
+Sitemap: https://anmo-fish.github.io/sitemap.xml
layouts/sitemap.xml
@@ -0,0 +1,12 @@
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+{{- range .Site.RegularPages -}}
+ {{- with .Permalink -}}
+ <url>
5
+ <loc>{{ . }}</loc>
6
+ {{- if not $.Lastmod.IsZero -}}
7
+ <lastmod>{{ $.Lastmod.Format "2006-01-02T15:04:05Z07:00" }}</lastmod>
8
+ {{- end -}}
9
+ </url>
10
11
+{{- end -}}
12
+</urlset>
0 commit comments