Merge pull request #34 from MyIgel/fix-cover-img

Removed `img/` prefix from cover page params
This commit is contained in:
Radek Kozieł 2019-02-08 19:00:09 +01:00 committed by GitHub
commit e2039dc8e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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">

View file

@ -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">