You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
source block with name and url does not get rendered #848
Hi you all,
first thanks for the awesome project. I now have some problems with the source tag in the recipe metadata.
I'm trying to configure a recipe where I set source with name and url, like that:
---
title: Recipe
source:
name: Some name
url: https://website.org
---
When a then run cook server (version 0.41.1) the source does not get rendered at all. If I configure
---
title: Recipe
source.name: Some name
source.url: https://website.org
---
the source (with the name) and an url (source.url) gets rendered instead of just the source but with a link on the name. I think, first of all, both options should have the same result, and the result should be that the source tag is shown with the source name as visible text and the url as url. What do you think?
I'll work on this. I'll check both nested source: { name, url } metadata and the flat source.name / source.url keys against the existing conventions, while keeping plain-text sources working. I'll also add rendering tests, including HTML escaping and unsafe URL cases, for the server and static output. I'll use Codex to help with implementation and testing.
Activity
jjohnnystwsss commentedon Nov 22, 2026
I'll work on this. I'll check both nested
source: { name, url }metadata and the flatsource.name/source.urlkeys against the existing conventions, while keeping plain-text sources working. I'll also add rendering tests, including HTML escaping and unsafe URL cases, for the server and static output. I'll use Codex to help with implementation and testing.fix(web): link the source name for nested and flat source metadata (c…