diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f1e2a0c..c014cac 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -12,7 +12,7 @@ {{ if $featured_image }} {{ $image := .Resources.GetMatch (.Params.featured_image) }} {{ if $image }} - style="background-image: url('{{$image.Permalink }}')" + style="background-image: url('{{$image.RelPermalink }}')" {{ else }} style="background-image: url('{{ $featured_image | absURL}}')" {{ end }} @@ -79,7 +79,7 @@ <nav class="post-pagination"> {{if .Next}} - <a class="newer-posts" href="{{.Next.Permalink}}"> + <a class="newer-posts" href="{{.Next.RelPermalink}}"> {{ i18n "next_link" }}<br>{{.Next.Title}} </a> {{else}} @@ -89,7 +89,7 @@ {{end}} {{if .Prev}} - <a class="older-posts" href="{{.Prev.Permalink}}"> + <a class="older-posts" href="{{.Prev.RelPermalink}}"> {{ i18n "prev_link" }}<br>{{.Prev.Title}} </a> {{else}} |