From d71de8ab2490081c184dd8a30cc8c8d2cf718286 Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Wed, 11 Sep 2024 00:57:26 +0200 Subject: Handle downloading with yt-dlp and serving video --- templates/search.html | 6 ++++-- templates/vid.html | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 templates/vid.html (limited to 'templates') diff --git a/templates/search.html b/templates/search.html index 6a9ce28..30e96b9 100644 --- a/templates/search.html +++ b/templates/search.html @@ -26,10 +26,12 @@ {{range .Items}} - + + - {{.Title}} + + {{.Title}}
{{.ChannelTitle}} | Atom feed
diff --git a/templates/vid.html b/templates/vid.html new file mode 100644 index 0000000..6383e2b --- /dev/null +++ b/templates/vid.html @@ -0,0 +1,6 @@ +{{define "title"}}Index{{end}} +{{define "content"}} + +{{end}} -- cgit v1.2.3