Prevent displaying first image in post as cover
This commit is contained in:
parent
cdc7e072f2
commit
380a350c1d
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{{ with .Resources.GetMatch "{cover.*,*.jpg,*.png,*.jpeg}" }}
|
||||
{{ with .Resources.GetMatch "{cover.*}" }}
|
||||
<img src="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
Posted by {{ .Site.Params.author }} on {{ partial "time.html" . }}
|
||||
|
|
Loading…
Add table
Reference in a new issue