open documents in new tab

This commit is contained in:
worktop 2024-03-04 10:06:10 -05:00
parent 55122f137d
commit 1153683582

View File

@ -16,7 +16,7 @@
{{- template "listDir" (dict "dir" (printf "%s/%s" $dir .Name)) -}}
{{- else -}}
{{- with resources.Get (printf "%s/%s" $dir .Name) -}}
<a href="{{ .RelPermalink }}">{{ title (replaceRE `[_-]` " " (path.BaseName .Name)) }}</a>
<a href="{{ .RelPermalink }}" target="_blank" >{{ title (replaceRE `[_-]` " " (path.BaseName .Name)) }}</a>
{{- end -}}
{{- end -}}
</li>