Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index e25ed9d..43378b3 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -5,7 +5,7 @@
<div class="post-list-container post-list-container-no-background">
{{range .Paginator.Pages}}
{{if and (.IsPage) (.Params.date)}}
- <a href="{{.Permalink}}" class="a-block">
+ <a href="{{.RelPermalink}}" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">
<div class="post-item-info-wrapper">
@@ -24,7 +24,7 @@
<div class="post-item-image"
{{ if $image }}
{{ $thumbnail := $image.Resize "690x360" }}
- style="background-image: url('{{ $thumbnail.Permalink }}')"
+ style="background-image: url('{{ $thumbnail.RelPermalink }}')"
{{ else }}
style="background-image: url('{{ $featured_image | absURL}}')"