fix: show recipe author with profile link on the recipe view page

/recipes/[id] never queried or displayed author info at all — viewing
someone else's public/unlisted recipe gave no way to see or visit
whoever wrote it. Add the author relation to the query and render an
avatar + "by {name}" link to /u/[username] under the title (hidden for
the owner's own recipes).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-04 11:11:05 +02:00
parent c453cb395e
commit 68cbd5b4e4
3 changed files with 16 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@
"mention": "{name} mentioned you in a comment"
},
"recipe": {
"byAuthor": "by {name}",
"source": "Source",
"share": "Share",
"shareLinkCopied": "Link copied to clipboard",