diff options
Diffstat (limited to 'pkg/tpl/error.templ')
-rw-r--r-- | pkg/tpl/error.templ | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/tpl/error.templ b/pkg/tpl/error.templ new file mode 100644 index 0000000..8045c1a --- /dev/null +++ b/pkg/tpl/error.templ @@ -0,0 +1,8 @@ +package tpl + +templ ErrorPage(err string) { + @Layout(HeaderParams{}) { + <h1>Ошибка!</h1> + <p>{ err }</p> + } +} |