瀏覽代碼

fix missing slash in url in sitemap.tmpl

Do Nhat Minh 12 年之前
父節點
當前提交
67594d4bca
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>