From 085f8354a5e597d631dfcd9e3a17a6d0a38cc736 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Agust=C3=ADn=20de=20la=20Puente?=
<14jdelap@gmail.com>
Date: Fri, 18 Apr 2025 00:07:05 +0100
Subject: [PATCH] fix: correct partials path in layouts/partials/templates
directory
---
layouts/partials/templates/schema_json.html | 2 +-
layouts/partials/templates/twitter_cards.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/templates/schema_json.html b/layouts/partials/templates/schema_json.html
index dc3bfd6a..8a4efb41 100644
--- a/layouts/partials/templates/schema_json.html
+++ b/layouts/partials/templates/schema_json.html
@@ -85,7 +85,7 @@
{{ (path.Join .RelPermalink .Params.cover.image ) | absURL }},
{{- end}}
{{- else }}
- {{- $images := partial "partials/templates/_funcs/get-page-images" . -}}
+ {{- $images := partial "templates/_funcs/get-page-images" . -}}
{{- with index $images 0 -}}
"image": {{ .Permalink }},
{{- end }}
diff --git a/layouts/partials/templates/twitter_cards.html b/layouts/partials/templates/twitter_cards.html
index 6b0d59bd..a6e1d05d 100644
--- a/layouts/partials/templates/twitter_cards.html
+++ b/layouts/partials/templates/twitter_cards.html
@@ -6,7 +6,7 @@
{{- end}}
{{- else }}
-{{- $images := partial "partials/templates/_funcs/get-page-images" . -}}
+{{- $images := partial "templates/_funcs/get-page-images" . -}}
{{- with index $images 0 -}}