diff options
author | uPagge <upagge@mail.ru> | 2020-11-28 11:11:11 +0300 |
---|---|---|
committer | uPagge <upagge@mail.ru> | 2020-11-28 11:11:11 +0300 |
commit | f84c986955c036721f762d40d60f77eeb1a80b43 (patch) | |
tree | e4184cf8e45150fa84e4cf234fa17df53a0978e0 /layouts/_default/summary.html | |
parent | f63174e055a4c46a23df2e805b43cfc97cfe4474 (diff) |
меняем пути на относительные
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r-- | layouts/_default/summary.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index c50e2ea..86a5e48 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -52,7 +52,7 @@ {{- $remark42 := $comment.remark42 | default dict -}} {{- if $remark42.enable -}} · <i class="far fa-eye fa-fw"></i> - <span class="remark42__counter" data-url="{{ .Permalink }}"> + <span class="remark42__counter" data-url="{{ $.RelPermalink }}"> </span> {{- end -}} @@ -69,7 +69,7 @@ {{- /* Footer */ -}} <div class="post-footer"> - <a href="{{ $.RelPermalink }}">{{ T "readMore" }}</a> + <a href="{{ .RelPermalink }}">{{ T "readMore" }}</a> {{- with .Params.tags -}} <div class="post-tags"> <i class="fas fa-tags fa-fw"></i> |