mirror of https://github.com/go-sonic/sonic.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
977 B
Cheetah
40 lines
977 B
Cheetah
{{- /* 统计代码 */ -}}
|
|
{{define "global.statistics"}}
|
|
{{noescape .options.blog_statistics_code}}
|
|
{{end}}
|
|
|
|
{{- /* 页脚信息 */ -}}
|
|
|
|
{{define "global.footer_info"}}
|
|
{{noescape .options.blog_footer_info}}
|
|
{{end }}
|
|
|
|
{{- /* 页眉信息 */ -}}
|
|
|
|
{{define "global.custom_head"}}
|
|
{{noescape .options.blog_custom_head}}
|
|
{{end}}
|
|
|
|
{{- /* favicon */ -}}
|
|
|
|
{{define "global.favicon"}}
|
|
{{if .options.blog_favicon}}
|
|
<link rel="shortcut icon" type="images/x-icon" href="{{.options.blog_favicon}}">
|
|
{{end}}
|
|
{{end}}
|
|
|
|
{{define "global.head"}}
|
|
{{if .options.seo_spider_disabled }}
|
|
<meta name="robots" content="none">
|
|
{{end}}
|
|
<meta name="generator" content="Sonic {{.version}}"/>
|
|
{{template "global.custom_head" .}}
|
|
{{template "global.custom_content_head" .}}
|
|
{{template "global.favicon" .}}
|
|
{{end}}}
|
|
|
|
|
|
{{define "global.footer"}}
|
|
{{template "global.footer_info" .}}
|
|
{{template "global.statistics" .}}
|
|
{{end}} |