mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 21:59:20 +01:00
35c3553870
Migrate from U2F to Webauthn Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
28 lines
651 B
Handlebars
28 lines
651 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" .}}
|
|
|
|
<!-- 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}}"></script>
|
|
{{template "custom/footer" .}}
|
|
</body>
|
|
</html>
|