Commit 9ad4917
feat(articles): "About the Author" section sourced from profiles (#29)
## What
Adds an **About the Author** section to the bottom of article and
podcast pages, sourced from the author's profile (the taxonomy term
content file introduced in #27).
> **Stacked on #27** (`feat/author-profiles`). Review/merge that first;
this PR's base is `feat/author-profiles`, so the diff here is just the
article section.
## Behavior
- For each author credited in `authors:` who has **opted into a
profile**, renders a card with avatar, preferred name, tagline, bio,
social links, and a "View profile" link.
- Articles whose authors have **no profile** are unchanged — no empty
section.
- Co-authored posts show a card per enriched author (heading
pluralizes); un-enriched co-authors are simply omitted.
- Reuses the `author-avatar` and `author-links` partials from #27.
## Cleanup
Replaces the legacy per-article `author_bio` front-matter block — which
**0 articles** used and which rendered a generic placeholder icon — with
the profile-sourced partial.
## Testing
- `hugo` builds clean.
- Verified on a podcast episode crediting an enriched author (Gilbert
Sanchez): the section renders with the Gravatar, tagline, bio,
Mastodon/LinkedIn icons, and profile link.
- Verified an article by an un-enriched author renders **no** About
section.
- Verified an episode that only name-drops an author in the title (not
in `authors:`) gets no section.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 360b03f commit 9ad4917
2 files changed
Lines changed: 39 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 121 | + | |
| 122 | + | |
137 | 123 | | |
138 | 124 | | |
139 | 125 | | |
| |||
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments