From 52fbd819a4d0ff68a4e2ef849f9e032e0bcf4b39 Mon Sep 17 00:00:00 2001 From: alex bezek Date: Wed, 21 Oct 2020 01:02:00 -0400 Subject: [PATCH] Fix about section to pull author name correctly (#114) Signed-off-by: Emruz Hossain --- layouts/partials/sections/about.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/layouts/partials/sections/about.html b/layouts/partials/sections/about.html index 91ec060..914fea0 100644 --- a/layouts/partials/sections/about.html +++ b/layouts/partials/sections/about.html @@ -3,11 +3,16 @@ {{ $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 }}