2024-05-18 22:37:30 -07:00
|
|
|
package layout
|
|
|
|
|
2024-07-14 09:07:16 -07:00
|
|
|
import "git.jamestombleson.com/jtom38/newsbot-portal/internal/models"
|
|
|
|
|
2024-05-18 22:37:30 -07:00
|
|
|
templ Error(err error) {
|
2024-07-14 09:07:16 -07:00
|
|
|
@WithTemplate(models.HeaderMetaTags{
|
|
|
|
Title: "Error",
|
|
|
|
Description: err.Error(),
|
|
|
|
}) {
|
2024-05-18 22:37:30 -07:00
|
|
|
<h1 class="title">Error</h1>
|
|
|
|
<h2 class="subtitle">{ err.Error() } </h2>
|
|
|
|
}
|
|
|
|
}
|