Give preference to displaying SVG cover images
This commit is contained in:
parent
bde2d56e6a
commit
d1efd22180
1 changed files with 1 additions and 1 deletions
|
@ -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" . }}
|
||||||
|
|
Reference in a new issue