From 380a350c1d9fb2ff798ac7e2d1334533fcee7d72 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Fri, 10 Jun 2022 18:58:39 -0700 Subject: [PATCH] Prevent displaying first image in post as cover --- layouts/partials/metadata.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index 519229f..8c37da8 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -1,4 +1,4 @@ -{{ with .Resources.GetMatch "{cover.*,*.jpg,*.png,*.jpeg}" }} +{{ with .Resources.GetMatch "{cover.*}" }} {{ end }} Posted by {{ .Site.Params.author }} on {{ partial "time.html" . }}