Merge pull request #34 from MyIgel/fix-cover-img
Removed `img/` prefix from cover page params
This commit is contained in:
commit
e2039dc8e1
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
{{ end }}
|
||||
|
||||
{{ with .Params.Cover }}
|
||||
<img src="{{ printf "img/%s" . | absURL }}" class="post-cover" />
|
||||
<img src="{{ . | absURL }}" class="post-cover" />
|
||||
{{ end }}
|
||||
|
||||
<div class="post-content">
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
{{ end }}
|
||||
|
||||
{{ with .Params.Cover }}
|
||||
<img src="{{ printf "img/%s" . | absURL }}" class="post-cover" />
|
||||
<img src="{{ . | absURL }}" class="post-cover" />
|
||||
{{ end }}
|
||||
|
||||
<div class="post-content">
|
||||
|
|
Loading…
Reference in a new issue