Change post cover path

This commit is contained in:
panr 2019-02-09 00:40:11 +01:00
parent fd42c5953e
commit 8a8e73461e
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
{{ end }} {{ end }}
{{ with .Params.Cover }} {{ with .Params.Cover }}
<img src="{{ printf "img/%s" . | absURL }}" class="post-cover" /> <img src="{{ . | absURL }}" class="post-cover" />
{{ end }} {{ end }}
<div class="post-content"> <div class="post-content">

View File

@ -17,7 +17,7 @@
{{ end }} {{ end }}
{{ with .Params.Cover }} {{ with .Params.Cover }}
<img src="{{ printf "img/%s" . | absURL }}" class="post-cover" /> <img src="{{ . | absURL }}" class="post-cover" />
{{ end }} {{ end }}
<div class="post-content"> <div class="post-content">