From 86b0d0c422e34c38837b5b5495ad6d295d0e73d2 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 1 Sep 2025 11:27:12 -0700 Subject: Squashed 'themes/PaperMod/' content from commit 5a46517 git-subtree-dir: themes/PaperMod git-subtree-split: 5a4651783fa9159123d947bd3511b355146d4797 --- layouts/partials/edit_post.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 layouts/partials/edit_post.html (limited to 'layouts/partials/edit_post.html') diff --git a/layouts/partials/edit_post.html b/layouts/partials/edit_post.html new file mode 100644 index 0000000..8d355d7 --- /dev/null +++ b/layouts/partials/edit_post.html @@ -0,0 +1,8 @@ +{{- if and (or .Params.editPost.URL site.Params.editPost.URL) (not (.Param "editPost.disabled")) -}} +{{- $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 }} -- cgit v1.3.1