summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/partials/edit_post.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/PaperMod/layouts/partials/edit_post.html')
-rw-r--r--themes/PaperMod/layouts/partials/edit_post.html8
1 files changed, 0 insertions, 8 deletions
diff --git a/themes/PaperMod/layouts/partials/edit_post.html b/themes/PaperMod/layouts/partials/edit_post.html
deleted file mode 100644
index 4f2c4de..0000000
--- a/themes/PaperMod/layouts/partials/edit_post.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{- 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 -}}
-<a href="{{ .Params.editPost.URL | default site.Params.editPost.URL }}{{ if .Params.editPost.appendFilePath | default ( site.Params.editPost.appendFilePath | default false ) }}/{{ $fileUrlPath }}{{ end }}" rel="noopener noreferrer" target="_blank">
- {{- .Params.editPost.Text | default (site.Params.editPost.Text | default (i18n "edit_post" | default "Edit")) -}}
-</a>
-{{- end }}