From 18aa098f50e2a2c7db01dd4d04dde460fd40f5d5 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Fri, 7 Jun 2024 14:02:25 +0200 Subject: feat: Add blob endpoint --- templates/base.qtpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'templates/base.qtpl') 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) %} -- cgit v1.2.3