aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base/footer.tmpl
blob: 9bf16f8aa5b55858a923476ec53b26ee31b92087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{{if false}}
	{{/* to make html structure "likely" complete to prevent IDE warnings */}}
<html>
<body>
	<div>
{{end}}

	{{template "custom/body_inner_post" .}}

	</div>

	{{template "custom/body_outer_post" .}}

	{{template "base/footer_content" .}}

<!-- Third-party libraries -->
{{if .EnableCaptcha}}
	{{if eq .CaptchaType "recaptcha"}}
		<script src='{{ URLJoin .RecaptchaURL "api.js"}}' async></script>
	{{end}}
	{{if eq .CaptchaType "hcaptcha"}}
		<script src='https://hcaptcha.com/1/api.js' async></script>
	{{end}}
{{end}}
	<script src="{{AssetUrlPrefix}}/js/index.js?v={{MD5 AppVer}}" onerror="alert('Failed to load asset files from ' + this.src + ', please make sure the asset files can be accessed and the ROOT_URL setting in app.ini is correct.')"></script>
{{template "custom/footer" .}}
</body>
</html>