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" }}
by {{ page.author.name | default: site.author }}
+by {{ authorData.name | default: site.author }}
{{content}} @@ -12,8 +13,6 @@ layout: default