From 8891eea532102b58a23a71a491be2c3f151720b5 Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Wed, 14 Oct 2020 18:19:00 +0200 Subject: Initial commit --- templates/base.html | 11 +++++++++++ templates/index.html | 6 ++++++ templates/search.html | 23 +++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/index.html create mode 100644 templates/search.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..7336dda --- /dev/null +++ b/templates/base.html @@ -0,0 +1,11 @@ + + + + + {{block "title" .}}{{end}} - grimtube + + + {{block "content" .}} + {{end}} + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..7628712 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,6 @@ +{{define "title"}}Index{{end}} +{{define "content"}} +
+ +
+{{end}} diff --git a/templates/search.html b/templates/search.html new file mode 100644 index 0000000..b921eb6 --- /dev/null +++ b/templates/search.html @@ -0,0 +1,23 @@ +{{define "title"}}Search{{end}} +{{define "content"}} +
+ +
+ + {{range .Items}} + + + + + + {{end}} +
+ + + {{.Title}} + + {{.ChannelTitle}} +
+ Prev Page | + Next Page +{{end}} -- cgit v1.2.3