Removed img/ prefix from cover page params

closes #33 (Don't prepend `img/` on cover links)
This commit is contained in:
Igor Scheller 2019-02-08 06:16:19 +01:00
parent 32409a7012
commit b295b14830
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">