You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

footer.tmpl 921B

123456789101112131415161718192021222324252627282930313233
  1. {{if false}}
  2. {{/* to make html structure "likely" complete to prevent IDE warnings */}}
  3. <html>
  4. <body>
  5. <div>
  6. {{end}}
  7. {{template "custom/body_inner_post" .}}
  8. </div>
  9. {{template "custom/body_outer_post" .}}
  10. {{template "base/footer_content" .}}
  11. <!-- Third-party libraries -->
  12. {{if .EnableCaptcha}}
  13. {{if eq .CaptchaType "recaptcha"}}
  14. <script src='{{URLJoin .RecaptchaURL "api.js"}}'></script>
  15. {{end}}
  16. {{if eq .CaptchaType "hcaptcha"}}
  17. <script src='https://hcaptcha.com/1/api.js'></script>
  18. {{end}}
  19. {{if eq .CaptchaType "cfturnstile"}}
  20. <script src='https://challenges.cloudflare.com/turnstile/v0/api.js'></script>
  21. {{end}}
  22. {{end}}
  23. <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>
  24. {{template "custom/footer" .}}
  25. {{ctx.DataRaceCheck $.Context}}
  26. </body>
  27. </html>