9 lines
141 B
Plaintext
9 lines
141 B
Plaintext
|
package layout
|
||
|
|
||
|
templ Error(err error) {
|
||
|
@WithTemplate() {
|
||
|
<h1 class="title">Error</h1>
|
||
|
<h2 class="subtitle">{ err.Error() } </h2>
|
||
|
}
|
||
|
}
|