From c38e4789588bca2d1404dab4c223907cae7cc313 Mon Sep 17 00:00:00 2001 From: rv Date: Tue, 31 Oct 2023 01:42:45 -0600 Subject: [PATCH] 10-31-23_01:42:45 --- _data/authors.yml | 2 +- _layouts/post.html | 5 ++--- assets/authorblurb.css | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/_data/authors.yml b/_data/authors.yml index b407768..66dde5c 100644 --- a/_data/authors.yml +++ b/_data/authors.yml @@ -1,7 +1,7 @@ RaxVentus: name: Rax Ventus image: rax_round.png - bio: Intentionally Left Blank, for testing purposes. + bio: Intentionally Left Blank. For testing purposes, of course. socials: - type: Mastodon url: https://dc801.space/@Raxventus diff --git a/_layouts/post.html b/_layouts/post.html index 72aa20c..cfba1fb 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,10 +1,11 @@ --- layout: default --- +{% assign authorData = site.data.authors[page.author] | default: site.data.authors[site.author] %} {{ page.date | date: "%-d %B %Y" }}

{{ page.title }}

-

by {{ page.author.name | default: site.author }}

+

by {{ authorData.name | default: site.author }}

{{content}} @@ -12,8 +13,6 @@ layout: default
-{% assign authorData = site.data.authors[page.author] | default: site.data.authors[site.author] %} -
{{ authorData.name | default: site.author.name }}'s profile picture.
{{ authorData.name | default: site.author.name }}
diff --git a/assets/authorblurb.css b/assets/authorblurb.css index 0bea83a..c5ad774 100644 --- a/assets/authorblurb.css +++ b/assets/authorblurb.css @@ -15,8 +15,8 @@ float: right; max-width: 128px; max-height: 128px; - padding-right: 4px; - padding-top: 4px; + margin-right: 4px; + margin-top: 4px; }