From 98157e607cf1c4aba1257abcc7742a8c4a1b94a0 Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Mon, 11 Jan 2021 18:11:21 +0100 Subject: Add view count and atom feed url and change index --- templates/index.html | 5 +++++ templates/search.html | 21 ++++++++++++++------- 2 files changed, 19 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 434a34f..9191892 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,5 +7,10 @@ {{end}} + {{end}} diff --git a/templates/search.html b/templates/search.html index dc9318a..8cbf200 100644 --- a/templates/search.html +++ b/templates/search.html @@ -28,17 +28,24 @@ -

{{.Title}}

-

Comments

-

{{.LengthText}}

-

{{.Published}}

+ {{.Title}} +
+ {{.ChannelTitle}} | Atom feed +
+ Comments +
+ {{.ViewCount}} +
+ {{.Published}} -

{{.ChannelTitle}}

+ {{.LengthText}} {{end}} - Prev Page | - Next Page + {{if ge .Page 0 }} + Prev Page | + Next Page + {{end}} {{end}} -- cgit v1.2.3