Feat: add error template
This commit is contained in:
9
components/error.html
Normal file
9
components/error.html
Normal file
@ -0,0 +1,9 @@
|
||||
{{define "error"}}
|
||||
<a href="/">
|
||||
<div id=errorbox class="bg-orange-100 border-l-4 border-orange-500 text-orange-700 p-4" role="alert">
|
||||
<p class="font-bold">An error from server</p>
|
||||
<p>{{.}}</p>
|
||||
<p>Click this banner to return to main page.</p>
|
||||
</div>
|
||||
</a>
|
||||
{{end}}
|
Reference in New Issue
Block a user