From ee1e0f3aa3c3575a756c9b17be5823e21de09c30 Mon Sep 17 00:00:00 2001
From: James <37276661+capjamesg@users.noreply.github.com>
Date: Sat, 17 May 2025 19:02:29 +0100
Subject: [PATCH] Add rel=edit attribute to change suggestion link
---
layouts/partials/edit_post.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/edit_post.html b/layouts/partials/edit_post.html
index 4f2c4de5..8d355d71 100644
--- a/layouts/partials/edit_post.html
+++ b/layouts/partials/edit_post.html
@@ -2,7 +2,7 @@
{{- $fileUrlPath := path.Join .File.Path }}
{{- if or .Params.author site.Params.author (.Param "ShowReadingTime") (not .Date.IsZero) .IsTranslated }} | {{- end -}}
-
+
{{- .Params.editPost.Text | default (site.Params.editPost.Text | default (i18n "edit_post" | default "Edit")) -}}
{{- end }}