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

github.com/xaprb/story.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaron Schwartz <xaprb@users.noreply.github.com>2018-09-05 15:31:12 +0300
committerBaron Schwartz <xaprb@users.noreply.github.com>2018-09-05 15:31:12 +0300
commit5ec1b3196ddc58328ef2449f7a4f398573fac5d9 (patch)
treeaa750949576325d7c12b58ec69e5a4c51caf3559 /layouts
parentf0b35a46c3064aa98738f25eac9be7c67e80933a (diff)
remove absURL from about.html
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/about.html6
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 }}