aboutsummaryrefslogtreecommitdiff
path: root/ui/html/pages/feed.tmpl.html
diff options
context:
space:
mode:
authorSamuel Johnson <[email protected]>2025-11-26 00:58:34 -0500
committerSamuel Johnson <[email protected]>2025-11-26 00:58:34 -0500
commitc72dfab37fd6f0d739ea70d42779b2a8c85e9915 (patch)
tree365fd790550a395daa762f746d6d82b2d1cfbd00 /ui/html/pages/feed.tmpl.html
parent350170e0f2a2d26a79924d24b32468057719cf60 (diff)
Add Youtube RSS parser
Diffstat (limited to 'ui/html/pages/feed.tmpl.html')
-rw-r--r--ui/html/pages/feed.tmpl.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/ui/html/pages/feed.tmpl.html b/ui/html/pages/feed.tmpl.html
new file mode 100644
index 0000000..83332f2
--- /dev/null
+++ b/ui/html/pages/feed.tmpl.html
@@ -0,0 +1,15 @@
+{{define "title"}}{{.Feed.Name}}{{end}}
+{{define "description"}}"Recent videos from {{.Feed.Name}}"{{end}}
+
+{{define "main"}}
+ {{range .Videos}}
+ <div class="card">
+ <div class="header">
+ <h4><b>{{.Title}} - {{.Published}}</b></h4>
+ <iframe class="video" src="{{.Link}}"></iframe>
+ </div>
+ <p>{{.Description}}</p>
+ </div>
+ {{end}}
+{{end}}
+