2015-12-08 06:30:52 +08:00
|
|
|
{{/*
|
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<div>
|
|
|
|
*/}}
|
2018-01-02 18:32:41 +08:00
|
|
|
|
|
|
|
{{template "custom/body_inner_post" .}}
|
|
|
|
|
2015-03-08 04:12:13 +08:00
|
|
|
</div>
|
2018-01-02 18:32:41 +08:00
|
|
|
|
|
|
|
{{template "custom/body_outer_post" .}}
|
|
|
|
|
2018-09-07 10:59:06 +08:00
|
|
|
{{template "base/footer_content" .}}
|
2017-01-25 23:15:25 +08:00
|
|
|
{{if .RequireSimpleMDE}}
|
2019-10-22 20:11:01 +08:00
|
|
|
<script src="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.js"></script>
|
|
|
|
<script src="{{StaticUrlPrefix}}/vendor/plugins/codemirror/addon/mode/loadmode.js"></script>
|
|
|
|
<script src="{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/meta.js"></script>
|
2017-01-25 23:15:25 +08:00
|
|
|
<script>
|
2019-10-22 20:11:01 +08:00
|
|
|
CodeMirror.modeURL = "{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/%N/%N.js";
|
2017-01-25 23:15:25 +08:00
|
|
|
</script>
|
|
|
|
{{end}}
|
|
|
|
|
2015-12-08 06:30:52 +08:00
|
|
|
<!-- Third-party libraries -->
|
2018-05-19 22:12:37 +08:00
|
|
|
{{if .RequireU2F}}
|
2019-10-22 20:11:01 +08:00
|
|
|
<script src="{{StaticUrlPrefix}}/vendor/plugins/u2f/index.js"></script>
|
2018-05-19 22:12:37 +08:00
|
|
|
{{end}}
|
2018-07-05 12:13:05 +08:00
|
|
|
{{if .EnableCaptcha}}
|
|
|
|
{{if eq .CaptchaType "recaptcha"}}
|
2019-05-02 21:09:39 +08:00
|
|
|
<script src='{{ URLJoin .RecaptchaURL "api.js"}}' async></script>
|
2018-07-05 12:13:05 +08:00
|
|
|
{{end}}
|
2020-10-03 11:37:53 +08:00
|
|
|
{{if eq .CaptchaType "hcaptcha"}}
|
|
|
|
<script src='https://hcaptcha.com/1/api.js' async></script>
|
|
|
|
{{end}}
|
2018-07-05 12:13:05 +08:00
|
|
|
{{end}}
|
2019-10-22 20:11:01 +08:00
|
|
|
<script src="{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}"></script>
|
2017-12-03 08:26:06 +08:00
|
|
|
{{template "custom/footer" .}}
|
2017-01-25 23:15:25 +08:00
|
|
|
</body>
|
2017-09-16 17:04:27 +08:00
|
|
|
</html>
|