diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-07 14:02:25 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-07 14:02:25 +0200 |
commit | 18aa098f50e2a2c7db01dd4d04dde460fd40f5d5 (patch) | |
tree | 5e3b3d3ba3206f2765db1a23a378275852154a51 /templates/base.qtpl | |
parent | d0e0c1eb99303e1000140d4b98c610077278dc42 (diff) | |
download | cerrado-18aa098f50e2a2c7db01dd4d04dde460fd40f5d5.tar.gz cerrado-18aa098f50e2a2c7db01dd4d04dde460fd40f5d5.tar.bz2 cerrado-18aa098f50e2a2c7db01dd4d04dde460fd40f5d5.zip |
feat: Add blob endpoint
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"> |