fix(renderer): stop listing the recipe language among custom byline metadata #265
No reviewers
Labels
No labels
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gram-lang/gram!265
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/renderer-frontmatter-known-keys"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The HTML recipe view lists every frontmatter key it does not know as custom metadata in the byline.
languagewas missing from its known keys, so a recipe withlanguage: frshowed a "language: fr" entry, although the page'slangattribute already carries it.packages/renderer/src/views/recipe/html.ts:languagejoinsknownKeys.packages/renderer/tests/byline-known-keys.test.ts:languageno longer appears in the byline (HTML and print), an unknown key (difficulty) still does.@gram-lang/renderer.lastUpdatedis deliberately left as it is: the byline is the only place it appears today. It gets a translated display in the frontmatter key registry PR ondev/1.6, which will also deriveknownKeysfrom that registry.