diff --git a/content/_index.md b/content/_index.md index bfbaf3b..8d35505 100644 --- a/content/_index.md +++ b/content/_index.md @@ -27,7 +27,7 @@ sections: title: 'Hey There!' subtitle: 'Welcome to my personal portfolio 👋' text: |- - I'm Devraj Bagchi (you can call me Dev) and I'm a Biochemistry and Molecular Biology Honours student at Trent University. My academic interests lie deeply in Synthetic Organic Chemistry, specifically Carbonyl chemistry, which I explore both theoretically and through sample analysis via analytical instrumentation and data documentation critical for high-standard research. + I'm Devraj Bagchi and I'm a Biochemistry and Molecular Biology Honours student at Trent University. My academic interests lie deeply in Synthetic Organic Chemistry, specifically Carbonyl chemistry, which I explore both theoretically and through sample analysis via analytical instrumentation and data documentation critical for high-standard research. As a hobby, I've also developed skills in front-end web development and UI design, learning languages such as Go, HTML, CSS, and Python, which I enjoy applying to create and manage my own academic portfolio. diff --git a/layouts/partials/blocks/about.avatar.html b/layouts/partials/blocks/about.avatar.html index 9658333..b119069 100644 --- a/layouts/partials/blocks/about.avatar.html +++ b/layouts/partials/blocks/about.avatar.html @@ -11,39 +11,47 @@ {{ $author = .author }} {{ else }} {{ $author = $block.content.username }} -{{ end }} +{{end}} {{ $person_page_path := (printf "/authors/%s" $author) }} {{ $person_page := site.GetPage $person_page_path }} {{ if not $person_page }} {{ errorf "Could not find an author page at `%s`. Please check the value of `author` in your About widget and create an associated author page if one does not already exist. See https://docs.hugoblox.com/page-builder/#about " $person_page_path }} -{{ end }} +{{end}} {{ $person := $person_page.Params }} {{ $avatar := ($person_page.Resources.ByType "image").GetMatch "*avatar*" }} {{ $avatar_shape := site.Params.features.avatar.shape | default "circle" }}