bloat/templates/error.tmpl
r 2cb6a515ac Update error page
- Add retry button for GET requests
- Only show signin button when it's a session error
2021-04-03 06:40:32 +00:00

18 lines
375 B
Cheetah

{{with .Data}}
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
<div class="page-title"> Error </div>
<div class="error-text"> {{.Err}} </div>
<div>
<a href="/timeline/home">home</a>
{{if .Retry}}
<a href="{{$.Ctx.Referrer}}">retry</a>
{{end}}
{{if .SessionErr}}
<a href="/signin" target="_top">signin</a>
{{end}}
</div>
{{template "footer.tmpl"}}
{{end}}