diff options
author | Baron Schwartz <xaprb@users.noreply.github.com> | 2018-09-05 15:31:12 +0300 |
---|---|---|
committer | Baron Schwartz <xaprb@users.noreply.github.com> | 2018-09-05 15:31:12 +0300 |
commit | 5ec1b3196ddc58328ef2449f7a4f398573fac5d9 (patch) | |
tree | aa750949576325d7c12b58ec69e5a4c51caf3559 /layouts | |
parent | f0b35a46c3064aa98738f25eac9be7c67e80933a (diff) |
remove absURL from about.html
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/about.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/about.html b/layouts/partials/about.html index 18a81af..e464a0a 100644 --- a/layouts/partials/about.html +++ b/layouts/partials/about.html @@ -1,20 +1,20 @@ <div id="about" class="f6 f5-l mt5 ph3 pb6 center nested-copy-line-height lh-copy nested-links mw-100 measure-wide"> <div class="about-the-author"> {{ if .IsPage }} - {{ $author := (printf ("/authors/%s" | absURL) (default .Site.Params.author (default "Unknown" .Params.author) | urlize)) }} + {{ $author := (printf "/authors/%s" (default .Site.Params.author (default "Unknown" .Params.author) | urlize)) }} {{ with .Site.GetPage $author }} {{ if gt .Content "" }} {{ .Content }} {{ end }} {{ else }} - {{ with .Site.GetPage ("/" | absURL) }} + {{ with .Site.GetPage "/" }} {{ .Content }} {{ end }} {{ end }} {{ else if gt .Content "" }} {{ .Content }} {{ else }} - {{ with .Site.GetPage ("/" | absURL) }} + {{ with .Site.GetPage "/" }} {{ .Content }} {{ end }} {{ end }} |