fix: vendor PaperMod as regular files

This commit is contained in:
2026-05-12 05:06:12 -05:00
parent 8f3bc174ca
commit 1d9b5a814f
127 changed files with 6287 additions and 1 deletions
@@ -0,0 +1,20 @@
{{- if and (.Param "editPost.URL") (not (.Param "editPost.disabled")) -}}
{{- if or (.Param "author") (.Param "ShowReadingTime") (not .Date.IsZero) .IsTranslated }}
{{- printf " | " | safeHTML -}}
{{- end -}}
{{- $editURL := .Param "editPost.URL" }}
{{- $appendFilePath := .Param "editPost.appendFilePath" | default false }}
{{- $editText := .Param "editPost.Text" | default (i18n "edit_post" ) -}}
{{- if $appendFilePath -}}
{{- $fileUrlPath := path.Join .File.Path }}
{{- $editURL = printf "%s/%s" $editURL $fileUrlPath -}}
{{- end -}}
<span>
<a href="{{ $editURL }}" rel="noopener noreferrer edit" target="_blank">
{{- $editText -}}
</a>
</span>
{{- end }}