aboutsummaryrefslogtreecommitdiff
path: root/templates/sitemap.xml
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-03-10 15:55:35 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-03-10 15:55:35 +0100
commit62742123354303edf2603c4525cbd3c554ec92c7 (patch)
treeb77ac122dca3f57c11cadb51a9dc8640d55a93c7 /templates/sitemap.xml
parent2bc2f0b2791645b4c2f4355dcaffa2baef3e1f93 (diff)
downloadmitjafelicijan.com-62742123354303edf2603c4525cbd3c554ec92c7.tar.gz
Added new post
Diffstat (limited to 'templates/sitemap.xml')
-rw-r--r--templates/sitemap.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sitemap.xml b/templates/sitemap.xml
index 4d2617c..e11846d 100644
--- a/templates/sitemap.xml
+++ b/templates/sitemap.xml
@@ -3,7 +3,7 @@
3 {{ if or (eq $page.Type "post") (eq $page.Type "note") }} 3 {{ if or (eq $page.Type "post") (eq $page.Type "note") }}
4 {{ if not .Draft }} 4 {{ if not .Draft }}
5 <url> 5 <url>
6 <loc>{{ $.Config.BaseURL }}{{ $page.RelPermalink }}</loc> 6 <loc>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</loc>
7 <lastmod>{{ $page.Created.Format "2006-01-02T15:04:05" }}+00:00</lastmod> 7 <lastmod>{{ $page.Created.Format "2006-01-02T15:04:05" }}+00:00</lastmod>
8 </url> 8 </url>
9 {{ end }} 9 {{ end }}