From b336c48ba3af4dfb59ae20a5b3fefda4bb15a583 Mon Sep 17 00:00:00 2001 From: Tixie Date: Wed, 5 Aug 2020 18:46:12 +0200 Subject: [PATCH] Fix semantic --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index f25ee80..3d7569e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ {{ define "main" }} {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" "musics") }}
- {{ if .IsHome | (not $paginator.HasPrev) }} + {{ if and .IsHome (not $paginator.HasPrev) }}