diff --git a/layouts/partials/posts.html b/layouts/partials/posts.html index c6657a2..1293d3e 100644 --- a/layouts/partials/posts.html +++ b/layouts/partials/posts.html @@ -1,5 +1,5 @@ {{- $isStandalone := false -}} -{{- if ne .Permalink .Site.BaseURL -}} +{{- if and (ne .Permalink .Site.BaseURL) (ne .RelPermalink "/") -}} {{- $isStandalone = true -}} {{- end -}}