diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-03-10 15:55:35 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-03-10 15:55:35 +0100 |
| commit | 62742123354303edf2603c4525cbd3c554ec92c7 (patch) | |
| tree | b77ac122dca3f57c11cadb51a9dc8640d55a93c7 /templates/sitemap.xml | |
| parent | 2bc2f0b2791645b4c2f4355dcaffa2baef3e1f93 (diff) | |
| download | mitjafelicijan.com-62742123354303edf2603c4525cbd3c554ec92c7.tar.gz | |
Added new post
Diffstat (limited to 'templates/sitemap.xml')
| -rw-r--r-- | templates/sitemap.xml | 2 |
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 }} |
