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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/recent_posts.html')
-rw-r--r--layouts/partials/recent_posts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/recent_posts.html b/layouts/partials/recent_posts.html
index eb6f2f5..5add1e8 100644
--- a/layouts/partials/recent_posts.html
+++ b/layouts/partials/recent_posts.html
@@ -39,7 +39,7 @@
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<p class="author-category">
{{ if isset .Params "authors" }}
- {{ i18n "authorBy" }} {{ range $index, $author := .Params.authors }}{{ if $index }}, {{ end }}<a href="{{ (printf "%s/%s" ("authors" | relURL) ($author | urlize)) }}">{{ $author }}</a>{{ end }}
+ {{ i18n "authorBy" }} {{ range $index, $author := .Params.authors }}{{ if $index }}, {{ end }}<a href="{{ (printf "%s/%s" ("authors" | relLangURL) ($author | urlize)) }}">{{ $author }}</a>{{ end }}
{{ end }}
{{ if .Params.date }}
{{ $createdAt := .Date.Format .Site.Params.date_format }}