Merge pull request #188 from TheGroundZero/patch-2

Use relURL for post-cover
This commit is contained in:
Djordje Atlialp 2020-09-02 10:15:11 +02:00 committed by GitHub
commit 7b4cefde3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@
{{- end }}
{{ with .Params.Cover }}
<img src="/{{ . }}" class="post-cover" />
<img src="{{ . | relURL }}" class="post-cover" />
{{ end }}
<div class="post-content">