small fixes

This commit is contained in:
teldra 2022-07-08 14:08:53 +02:00
parent 7e622b7bf2
commit 2422e0051e
1 changed files with 3 additions and 1 deletions

View File

@ -75,7 +75,9 @@
</a>
{{ else }}
{{ $fname := . }}
<div>🗀 <a href="{{ $fname.Permalink }}" class="underline">{{ $fname }}</a></div>
{{ if not strings.HasSuffix $fname "md" }}
<div>🗀 <a href="{{ $fname.Permalink }}" class="underline">{{ $fname }}</a></div>
{{ end }}
{{ end }}
{{ end }}
{{ end }}