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

9 lines
141 B
Plaintext
Raw Normal View History

2024-05-18 22:37:30 -07:00
package layout
templ Error(err error) {
@WithTemplate() {
<h1 class="title">Error</h1>
<h2 class="subtitle">{ err.Error() } </h2>
}
}