refactor(content): standardize on authors over redundant author key#46
Merged
Conversation
Every content file carried both `author:` (string) and `authors:` (list) with identical values — the singular was always equal to authors[0]. The `authors:` list already drives the Hugo taxonomy (hugo.yaml: author: authors); `author:` only fed the byline display in three templates. - Repoint single/list/index bylines from `.Params.author` to `index .Params.authors 0`, preserving primary-author-only bylines. - Strip the redundant `author:` key from all content frontmatter. - Drop the `author` field from the article/podcast content types in frontmatter.json and promote `authors` to required so the CMS no longer re-adds the singular key. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
✅ Deploy Preview for powershellorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Episodes authored solely by Andrew Pla (or Andrew Pla and Jordan Hammond) omitted their on-mic guests from the authors list. Add each interviewed guest to the frontmatter authors across 60 episodes, using each guest's canonical name where established by their own dedicated episodes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Every content file carried both
author:(string) andauthors:(list) with identical values — a mismatch scan confirmed the singular was always equal toauthors[0]across all 1875 files (0 divergences). Theauthors:list already drives the Hugo taxonomy (hugo.yaml:author: authors); the singularauthor:only fed the byline display in three templates.This collapses the redundancy onto the canonical
authorskey.Changes
single.html,list.html, andindex.htmlfrom.Params.authortoindex .Params.authors 0, preserving primary-author-only bylines (multi-author podcasts still show just the host).author:key from all 1874 content files (the one pre-edited article is excluded from this commit and carries its strip separately).authorfield from the article/podcast content types infrontmatter.jsonand promoteauthorstorequiredso Front Matter no longer re-adds the singular key.Verification
author:value already equalledauthors[0], so nothing was lost.author.htmlwarnf) never fired, so all author taxonomy terms still resolve.Gilbert Sanchez; multi-author podcast → only the primary author in the byline, guest correctly excluded.Not touched
hugo.yamlparams.author(site-level RSS/meta default) and theauthor: authorstaxonomy declaration — both are correct and idiomatic.🤖 Generated with Claude Code