diff options
Diffstat (limited to 'templates/base.qtpl')
-rw-r--r-- | templates/base.qtpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/base.qtpl b/templates/base.qtpl index 16b8780..180b1ab 100644 --- a/templates/base.qtpl +++ b/templates/base.qtpl @@ -30,6 +30,11 @@ Page { } %} +{% code func Ignore[T any](v T, _ error) T { + return v + } +%} + Page prints a page implementing Page interface. {% func PageTemplate(p Page) %} <html lang="en"> |