diff options
author | Rafed Muhammad Yasir <rafed123@yahoo.com> | 2020-05-02 23:03:26 +0300 |
---|---|---|
committer | Rafed Muhammad Yasir <rafed123@yahoo.com> | 2020-05-02 23:03:26 +0300 |
commit | d8a5c1c9d05d960c02d136a42c5d0d8262617fff (patch) | |
tree | 9b779e9400b956245595bde59ad2a0410a15f39c | |
parent | 61904c9e0bed0036b5e882e7bed20b0c0c6961ac (diff) |
Remove time from sitemap
-rw-r--r-- | layouts/sitemap.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml index 6b6be8d..18b541e 100644 --- a/layouts/sitemap.xml +++ b/layouts/sitemap.xml @@ -4,7 +4,7 @@ <url> <loc>{{- .Permalink -}}</loc> - <lastmod>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}</lastmod> + <lastmod>{{ .Lastmod.Format "2006-01-02" }}</lastmod> {{ with .Sitemap.ChangeFreq }} <changefreq>{{ . }}</changefreq> {{ end }} |