add recursive
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Yann Verry 2022-10-25 22:21:18 +02:00
parent 2b840e017b
commit 138071bfb8
Signed by: yann
GPG key ID: EB9E679A66B8C7A1
106 changed files with 4673 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{{- if or .Params.editPost.URL site.Params.editPost.URL -}}
{{- $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 }}