From 7f01a06d4b5ed05f7132862919ad947b70bf6cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BCndig?= Date: Wed, 10 Jan 2024 22:21:40 +0100 Subject: [PATCH] allow relative paths for opengraph images --- layouts/partials/templates/opengraph.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html index 38fbd24..8f62080 100644 --- a/layouts/partials/templates/opengraph.html +++ b/layouts/partials/templates/opengraph.html @@ -11,7 +11,7 @@ {{- else }} {{- with $.Params.images -}} -{{- range first 6 . }}{{ end -}} +{{- range first 6 . }}{{ end -}} {{- else -}} {{- $images := $.Resources.ByType "image" -}} {{- $featured := $images.GetMatch "*feature*" -}}