diff --git a/resources/template/common/web/sitemap_html.tmpl b/resources/template/common/web/sitemap_html.tmpl index b654671f..08134a6d 100644 --- a/resources/template/common/web/sitemap_html.tmpl +++ b/resources/template/common/web/sitemap_html.tmpl @@ -135,7 +135,7 @@
  • {{.blog_title}}
    -
    {{unix_milli_time_format "2006-01-02" .options.birthday}}
    +
    {{unix_milli_time_format "2006-01-02" (int64 .options.birthday)}}
    daily
    1
  • diff --git a/resources/template/common/web/sitemap_xml.tmpl b/resources/template/common/web/sitemap_xml.tmpl index 228ef82c..43192ba4 100644 --- a/resources/template/common/web/sitemap_xml.tmpl +++ b/resources/template/common/web/sitemap_xml.tmpl @@ -3,7 +3,7 @@ {{.blog_url}} - {{unix_milli_time_format "2006-01-02T15:04:05Z07:00" .options.birthday}} + {{unix_milli_time_format "2006-01-02T15:04:05Z07:00" (int64 .options.birthday)}} {{if (gt (len .posts) 0)}} {{range $post := .posts}}