diff options
author | Dillon <dillonzq@outlook.com> | 2020-04-22 16:34:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 16:34:38 +0300 |
commit | f5fb31ec43e59765feb0b214895d3cee1039d02a (patch) | |
tree | ed9e4a34b0b6acece0b242d74d46ad2b73260488 /layouts/_default/summary.html | |
parent | 3c38d54a87fcc844075c4ee8efc1ce1d85ac5117 (diff) |
fix: wrong URL of JS and CSS files on baseURL (#249)
Diffstat (limited to 'layouts/_default/summary.html')
-rw-r--r-- | layouts/_default/summary.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index c8a33a6..df0445c 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -16,7 +16,7 @@ {{- /* Meta */ -}} <div class="post-meta"> {{- $author := $params.author | default .Site.Author.name | default (T "author") -}} - {{- $authorLink := $params.authorlink | default .Site.Author.link | default (relLangURL "/") -}} + {{- $authorLink := $params.authorlink | default .Site.Author.link | default .Site.Home.RelPermalink -}} <span class="post-author"> {{- $options := dict "class" "author" "href" $authorLink "title" "Author" "rel" "author" "icon" (dict "class" "fas fa-user-circle fa-fw") "content" $author -}} {{- partial "plugin/link.html" $options -}} |