File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
resources/template/common/macro Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11{{- /* 统计代码 */ -}}
22{{define "global.statistics"}}
3- {{.options.blog_statistics_code}}
3+ {{noescape .options.blog_statistics_code}}
44{{end}}
55
66{{- /* 页脚信息 */ -}}
1212{{- /* 页眉信息 */ -}}
1313
1414{{define "global.custom_head"}}
15- {{.options.blog_custom_head}}
15+ {{noescape .options.blog_custom_head}}
1616{{end}}
1717
1818{{- /* favicon */ -}}
2626{{define "global.head"}}
2727 {{if .options.seo_spider_disabled }}
2828 <meta name="robots" content="none">
29- {{else }}
29+ {{end }}
3030 <meta name="generator" content="Sonic {{.version}}"/>
3131 {{template "global.custom_head" .}}
32+ {{template "global.custom_content_head" .}}
3233 {{template "global.favicon" .}}
33- {{end}}
3434{{end}}}
3535
3636
Original file line number Diff line number Diff line change 11{{define "global.custom_content_head"}}
22 {{if or .is_post .is_sheet}}
3- {{.options.blog_custom_content_head}}
3+ {{noescape .options.blog_custom_content_head}}
44 {{end}}
55{{end}}
66
You can’t perform that action at this time.
0 commit comments