newsbot-portal/internal/views/layout/error.templ

9 lines
141 B
Plaintext

package layout
templ Error(err error) {
@WithTemplate() {
<h1 class="title">Error</h1>
<h2 class="subtitle">{ err.Error() } </h2>
}
}