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" . }}
2017-01-25 23:15:25 +08:00
2015-12-08 06:30:52 +08:00
<!-- Third-party libraries -->
2018-07-05 12:13:05 +08:00
{{ if .EnableCaptcha }}
{{ if eq .CaptchaType "recaptcha" }}
2023-02-05 15:29:03 +08:00
<script src=' {{ URLJoin .RecaptchaURL "api.js" }} '></script>
2018-07-05 12:13:05 +08:00
{{ end }}
2020-10-03 11:37:53 +08:00
{{ if eq .CaptchaType "hcaptcha" }}
2023-02-05 15:29:03 +08:00
<script src='https://hcaptcha.com/1/api.js'></script>
{{ end }}
{{ if eq .CaptchaType "cfturnstile" }}
<script src='https://challenges.cloudflare.com/turnstile/v0/api.js'></script>
2020-10-03 11:37:53 +08:00
{{ end }}
2018-07-05 12:13:05 +08:00
{{ end }}
2023-01-18 09:36:40 +08:00
<script src=" {{ AssetUrlPrefix }} /js/index.js?v= {{ AssetVersion }} " onerror="alert('Failed to load asset files from ' + this.src + '. Please make sure the asset files can be accessed.')"></script>
2023-08-08 09:22:47 +08:00
{{ template "custom/footer" . }}
{{ ctx .DataRaceCheck $ .Context }}
2017-01-25 23:15:25 +08:00
</body>
2017-09-16 17:04:27 +08:00
</html>