Explorar o código

fix missing slash in url in sitemap.tmpl

Do Nhat Minh %!s(int64=12) %!d(string=hai) anos
pai
achega
67594d4bca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      themes/sitemap.tmpl

+ 1 - 1
themes/sitemap.tmpl

@@ -5,7 +5,7 @@
5 5
 <urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
6 6
     {foreach $url in $content.urls}
7 7
     <url>
8
-        <loc>{$config.domain}{$url}</loc>
8
+        <loc>{$config.domain}/{$url}</loc>
9 9
     </url>
10 10
     {/foreach}
11 11
 </urlset>