diff options
Diffstat (limited to 'themes/default/layouts/partials/context-profile.html')
-rw-r--r-- | themes/default/layouts/partials/context-profile.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/context-profile.html b/themes/default/layouts/partials/context-profile.html index ec18c21..609d045 100644 --- a/themes/default/layouts/partials/context-profile.html +++ b/themes/default/layouts/partials/context-profile.html @@ -4,13 +4,13 @@ {{- $user := $author.user -}} {{- $host := (urls.Parse .Site.BaseURL).Host -}} -{{- $href := print .Site.BaseURL "/" (partial "author-user.html" .) "/#" -}} +{{- $href := print .Site.BaseURL "/" $author.user "/#" -}} {{- if not $host -}} {{- $host = "localhost" -}} {{- end -}} -{{- $title := print (partial "author-user.html" .) "@" $host -}} +{{- $title := print $author.user "@" $host -}} {{- with .Params.feed -}} {{- $host = $.Params.feed.domain -}} |