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) }}