forked from jakub/jakubb-hugo
open documents in new tab
This commit is contained in:
parent
55122f137d
commit
1153683582
@ -16,7 +16,7 @@
|
|||||||
{{- template "listDir" (dict "dir" (printf "%s/%s" $dir .Name)) -}}
|
{{- template "listDir" (dict "dir" (printf "%s/%s" $dir .Name)) -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- with resources.Get (printf "%s/%s" $dir .Name) -}}
|
{{- 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 -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user