aboutsummaryrefslogtreecommitdiff
path: root/views/error.templ
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-21 19:26:56 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-21 19:28:56 +0300
commitce3111b0efe91e275ce070f9511b5b1b9801a46d (patch)
tree09fa4f10dfb1e17761339c798eefa73c6b18484f /views/error.templ
parente9a64f3b41b5eae47dec7c0ecfd1caae83136abc (diff)
Множество улучшенийv0.0.2
Diffstat (limited to 'views/error.templ')
-rw-r--r--views/error.templ8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/error.templ b/views/error.templ
index d3a4a32..3e857ef 100644
--- a/views/error.templ
+++ b/views/error.templ
@@ -1,8 +1,8 @@
package views
templ ErrorPage(err error) {
- @Layout() {
- <h1>Ошибка</h1>
- {err.Error()}
- }
+ @Layout(nil) {
+ <h1>Ошибка</h1>
+ { err.Error() }
+ }
}