From 94dd1ca677c716975d43f323c97ea26f8fd4c962 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Thu, 2 Jan 2025 16:57:57 -0800 Subject: initial commit by simponic-infra --- templates/404.html | 7 +++++++ templates/base.html | 16 ++++++++++++++++ templates/base_empty.html | 3 +++ templates/hello.html | 3 +++ 4 files changed, 29 insertions(+) create mode 100644 templates/404.html create mode 100644 templates/base.html create mode 100644 templates/base_empty.html create mode 100644 templates/hello.html (limited to 'templates') diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..5210bfb --- /dev/null +++ b/templates/404.html @@ -0,0 +1,7 @@ +{{ define "content" }} +

page not found

+

but hey, at least you found our witty 404 page. that's something, right?

+ +

go back home

+ +{{ end }} diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..2a9dacb --- /dev/null +++ b/templates/base.html @@ -0,0 +1,16 @@ +{{ define "base" }} + + + + something simponic. + + + + + +
+ {{ template "content" . }} +
+ + +{{ end }} diff --git a/templates/base_empty.html b/templates/base_empty.html new file mode 100644 index 0000000..6191ab9 --- /dev/null +++ b/templates/base_empty.html @@ -0,0 +1,3 @@ +{{ define "base" }} + {{ template "content" . }} +{{ end }} \ No newline at end of file diff --git a/templates/hello.html b/templates/hello.html new file mode 100644 index 0000000..d2311f5 --- /dev/null +++ b/templates/hello.html @@ -0,0 +1,3 @@ +{{ define "content" }} +hello from {{ .Service }}! +{{ end }} -- cgit v1.3