From bcf66d92d664dd707937ae866830a6bee0751745 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 24 May 2025 12:52:32 -0500 Subject: cleanup all go code and add an index/home page that is composed from the readme file --- templates/base.html | 12 +++++++ templates/index.html | 3 ++ templates/watch.html | 89 +++++++++++++++++++++++++--------------------------- 3 files changed, 57 insertions(+), 47 deletions(-) create mode 100644 templates/base.html create mode 100644 templates/index.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..7c1f8eb --- /dev/null +++ b/templates/base.html @@ -0,0 +1,12 @@ + + + + + + + {{ block "scripts" . }}{{ end }} + + + {{ block "content" . }}{{ end }} + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..c4ade88 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,3 @@ +{{ define "content" }} + {{ .Content }} +{{ end }} diff --git a/templates/watch.html b/templates/watch.html index bae485d..be4be41 100644 --- a/templates/watch.html +++ b/templates/watch.html @@ -1,48 +1,43 @@ - - - - - - - - - - - -

- - +{{ define "scripts" }} + + +{{ end }} + +{{ define "content" }} + +

+ + +
+ +{{ end }} -- cgit v1.2.3