Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bebfaec

Browse files
committed
sitemap bugfix
1 parent a3d1910 commit bebfaec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

websites/code/studygolang/static/js/sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ $(function(){
7272

7373
var title = data[i].category + ' ' + data[i].name;
7474

75-
var logo = 'http://studygolang.qiniudn.com/141026/d0a668a4c0f13ea1a2cc7675a51cf4d3.gif';
75+
var logo = 'http://studygolang.qiniudn.com/gopher/default_project.jpg?imageView2/2/w/48';
7676
if (data[i].logo != '') {
7777
logo = data[i].logo;
7878
}

websites/code/studygolang/template/sitemapindex.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<sitemapindex>{{range .sitemapFiles}}
2+
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">{{range .sitemapFiles}}
33
<sitemap>
44
<loc>{{$.home.loc}}/sitemap/{{.}}</loc>
55
</sitemap>{{end}}

0 commit comments

Comments
 (0)