From e17a9dd997ae3da570f5e24a574ed6644eff99cb Mon Sep 17 00:00:00 2001 From: Hamcha Date: Sat, 27 Apr 2024 19:52:35 +0200 Subject: [PATCH] fixup links --- layouts/index.html | 2 +- layouts/shortcodes/next-up.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index fdf1d47..1a9d294 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -45,7 +45,7 @@ site.RegularPages "Section" $pageurl }} {{- with $pages }}

Browse by series

{{ range $link, $name := $.Site.Data.home.series }} - + {{ end }}
{{ partial "list-limited.html" "posts;posts" }} {{ partial "list-limited.html" diff --git a/layouts/shortcodes/next-up.html b/layouts/shortcodes/next-up.html index 670051e..06d21bc 100644 --- a/layouts/shortcodes/next-up.html +++ b/layouts/shortcodes/next-up.html @@ -1,4 +1,4 @@ -{{ $tag := .Get 0 }} {{ $param := .Get 1 }} {{ $next := sort (where (sort +{{ $tag := .Get 0 }} {{ $param := .Get 1 }} {{ $next := where (where (sort site.RegularPages "Date" "asc") ".Date" "gt" .Page.Date) ".Params.tags" "intersect" (slice $tag) | first 1 }} {{ with $next }} {{ $page := index . 0 }}