mirror of
https://github.com/go-gitea/gitea
synced 2024-07-07 10:35:48 +00:00
It improves the maintainability for the templates. Now `base/footer.tmpl` doesn't need to depend on "captcha" feature.
22 lines
527 B
Handlebars
22 lines
527 B
Handlebars
{{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" .}}
|
|
|
|
<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>
|
|
|
|
{{template "custom/footer" .}}
|
|
{{ctx.DataRaceCheck $.Context}}
|
|
</body>
|
|
</html>
|