Give preference to displaying SVG cover images

main
Elnu 2 years ago
parent bde2d56e6a
commit d1efd22180

@ -1,4 +1,4 @@
{{ with .Resources.GetMatch "{cover.*}" }} { with .Resources.GetMatch "{cover.svg,cover.*}" }}
<img src="{{ .Permalink }}"> <img src="{{ .Permalink }}">
{{ end }} {{ end }}
Posted by {{ .Site.Params.author }} on {{ partial "time.html" . }} Posted by {{ .Site.Params.author }} on {{ partial "time.html" . }}

Loading…
Cancel
Save