2021-10-12 18:11:35 +00:00
|
|
|
{{if false}}
|
|
|
|
{{/* to make html structure "likely" complete to prevent IDE warnings */}}
|
2015-12-07 22:30:52 +00:00
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<div>
|
2021-10-12 18:11:35 +00:00
|
|
|
{{end}}
|
2018-01-02 10:32:41 +00:00
|
|
|
|
|
|
|
{{template "custom/body_inner_post" .}}
|
|
|
|
|
2015-03-07 20:12:13 +00:00
|
|
|
</div>
|
2018-01-02 10:32:41 +00:00
|
|
|
|
|
|
|
{{template "custom/body_outer_post" .}}
|
|
|
|
|
2018-09-07 02:59:06 +00:00
|
|
|
{{template "base/footer_content" .}}
|
2017-01-25 15:15:25 +00:00
|
|
|
{{if .RequireSimpleMDE}}
|
2021-05-08 14:27:25 +00: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 15:15:25 +00:00
|
|
|
<script>
|
2021-05-08 14:27:25 +00:00
|
|
|
CodeMirror.modeURL = '{{AssetUrlPrefix}}/vendor/plugins/codemirror/mode/%N/%N.js';
|
2017-01-25 15:15:25 +00:00
|
|
|
</script>
|
|
|
|
{{end}}
|
|
|
|
|
2015-12-07 22:30:52 +00:00
|
|
|
<!-- Third-party libraries -->
|
2018-05-19 14:12:37 +00:00
|
|
|
{{if .RequireU2F}}
|
2021-05-08 14:27:25 +00:00
|
|
|
<script src="{{AssetUrlPrefix}}/vendor/plugins/u2f/index.js"></script>
|
2018-05-19 14:12:37 +00:00
|
|
|
{{end}}
|
2018-07-05 04:13:05 +00:00
|
|
|
{{if .EnableCaptcha}}
|
|
|
|
{{if eq .CaptchaType "recaptcha"}}
|
2019-05-02 13:09:39 +00:00
|
|
|
<script src='{{ URLJoin .RecaptchaURL "api.js"}}' async></script>
|
2018-07-05 04:13:05 +00:00
|
|
|
{{end}}
|
2020-10-03 03:37:53 +00:00
|
|
|
{{if eq .CaptchaType "hcaptcha"}}
|
|
|
|
<script src='https://hcaptcha.com/1/api.js' async></script>
|
|
|
|
{{end}}
|
2018-07-05 04:13:05 +00:00
|
|
|
{{end}}
|
2021-05-08 14:27:25 +00:00
|
|
|
<script src="{{AssetUrlPrefix}}/js/index.js?v={{MD5 AppVer}}"></script>
|
2017-12-03 00:26:06 +00:00
|
|
|
{{template "custom/footer" .}}
|
2017-01-25 15:15:25 +00:00
|
|
|
</body>
|
2017-09-16 09:04:27 +00:00
|
|
|
</html>
|