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