From 07c4cb4eff2261bd9469dbc10778c9c0cfbdd624 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 16 Nov 2025 00:00:42 +0900 Subject: modified recordings/single.html --- layouts/recordings/single.html | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/layouts/recordings/single.html b/layouts/recordings/single.html index 1cd0e51..3e9a825 100644 --- a/layouts/recordings/single.html +++ b/layouts/recordings/single.html @@ -44,28 +44,8 @@ {{ .Content }} - {{ $pages := .CurrentSection.Pages.ByDate.Reverse }} - {{ $.Scratch.Set "older" nil }} - {{ $.Scratch.Set "newer" nil }} - {{ range $i, $p := $pages }} - {{ if eq $p.File.Path $.File.Path }} - {{ if lt (add $i 1) (len $pages) }} - {{ $.Scratch.Set "older" (index $pages (add $i 1)) }} - {{ end }} - {{ if gt $i 0 }} - {{ $.Scratch.Set "newer" (index $pages (sub $i 1)) }} - {{ end }} - {{ end }} - {{ end }} @@ -108,18 +88,5 @@ {{ end }} - -- cgit v1.2.3