From e41ff2b897be24a894e75b850f1c06652cc034be Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sat, 14 May 2022 17:02:30 -0600 Subject: Implement index handler This involved re-arranging how templates are being parsed, slightly. --- srv/src/api/tpl/index.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srv/src/api/tpl/index.html (limited to 'srv/src/api/tpl') diff --git a/srv/src/api/tpl/index.html b/srv/src/api/tpl/index.html new file mode 100644 index 0000000..240df92 --- /dev/null +++ b/srv/src/api/tpl/index.html @@ -0,0 +1,20 @@ +{{ define "body" }} + +{{ end }} + +{{ template "base.html" . }} -- cgit v1.2.3