2021-10-13 02:11:35 +08:00
|
|
|
{{if false}}
|
|
|
|
{{/* to make html structure "likely" complete to prevent IDE warnings */}}
|
2015-12-08 06:30:52 +08:00
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<div>
|
2021-10-13 02:11:35 +08:00
|
|
|
{{end}}
|
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" .}}
|
2021-12-10 10:51:27 +08:00
|
|
|
{{if .RequireEasyMDE}}
|
2021-05-08 22:27:25 +08:00
|
|
|
<script src="{{AssetUrlPrefix}}/js/easymde.js?v={{MD5 AppVer}}"></script>
|
|
|
|
<script src="{{AssetUrlPrefix}}/vendor/plugins/codemirror/addon/mode/loadmode.js"></script>
|
|
|
|
<script src="{{AssetUrlPrefix}}/vendor/plugins/codemirror/mode/meta.js"></script>
|
2017-01-25 23:15:25 +08:00
|
|
|
<script>
|
2021-05-08 22:27:25 +08:00
|
|
|
CodeMirror.modeURL = '{{AssetUrlPrefix}}/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}}
|
2021-05-08 22:27:25 +08:00
|
|
|
<script src="{{AssetUrlPrefix}}/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}}
|
2021-05-08 22:27:25 +08:00
|
|
|
<script src="{{AssetUrlPrefix}}/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>
|