From 2bc5becbfe6dc512e9a8e65608f00d16a2ec4ba0 Mon Sep 17 00:00:00 2001 From: as027811 Date: Wed, 21 Oct 2020 00:53:01 -0400 Subject: [PATCH] Fix about section to pull author name correctly --- layouts/partials/sections/about.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/layouts/partials/sections/about.html b/layouts/partials/sections/about.html index 91ec060..3f45dca 100644 --- a/layouts/partials/sections/about.html +++ b/layouts/partials/sections/about.html @@ -1,13 +1,19 @@ + {{ $sectionID := replace (lower .section.name) " " "-" }} {{ if .section.id }} {{ $sectionID = .section.id }} {{ end }} +{{ $author:= site.Data.author }} +{{ if (index site.Data site.Language.Lang).author }} + {{ $author = (index site.Data site.Language.Lang).author }} +{{ end }} +
-

{{ site.Params.author.name }}

+

{{ $author.name }}

{{ if .designation }}
{{ .designation }}