From d25ec27fb1c3df175e1b98af1fdc26881d68a1ab Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 5 Jan 2025 16:39:13 -0800 Subject: initial commit by simponic-infra --- template/templates/404.html | 7 +++++++ template/templates/base.html | 34 ++++++++++++++++++++++++++++++++++ template/templates/base_empty.html | 3 +++ template/templates/hello.html | 3 +++ 4 files changed, 47 insertions(+) create mode 100644 template/templates/404.html create mode 100644 template/templates/base.html create mode 100644 template/templates/base_empty.html create mode 100644 template/templates/hello.html (limited to 'template/templates') diff --git a/template/templates/404.html b/template/templates/404.html new file mode 100644 index 0000000..5210bfb --- /dev/null +++ b/template/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/template/templates/base.html b/template/templates/base.html new file mode 100644 index 0000000..8e18b67 --- /dev/null +++ b/template/templates/base.html @@ -0,0 +1,34 @@ +{{ define "base" }} + + + + whois simponic. + + + + + + + + + + + + + + + +
+
+

whois

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