wp-go/app/theme/wp/template.gohtml

32 lines
757 B
Plaintext
Raw Permalink Normal View History

2023-02-16 16:20:38 +00:00
{{define "common/head"}}
2024-01-21 13:29:36 +00:00
{{ callFuncString .calComponent "headScript"}}
2023-02-24 16:56:52 +00:00
2023-02-18 15:35:39 +00:00
{{if .externHead}}
{{.externHead|unescaped}}
{{end}}
2023-02-16 16:20:38 +00:00
{{end}}
2023-02-28 15:38:23 +00:00
{{define "common/footer"}}
2024-01-21 13:29:36 +00:00
{{ callFuncString .calComponent "footerScript"}}
2023-05-13 10:50:10 +00:00
{{if .externFooter}}
{{.externFooter|unescaped}}
{{end}}
2023-02-28 15:38:23 +00:00
{{end}}
{{define "common/sidebarWidget"}}
2024-01-21 13:29:36 +00:00
{{ callFuncString .calComponent "sidebarsWidgets"}}
2024-01-14 14:07:16 +00:00
{{end}}
{{define "common/colophon"}}
{{if .colophon}}
{{.colophon|unescaped}}
{{else}}
<footer id="colophon" class="site-footer">
<div class="site-info">
<a href="https://github.com/fthvgb1/wp-go" class="imprint">自豪地采用 wp-go</a>
</div>
</footer>
{{end}}
{{end}}