Fix recipe list links and home page recipe count
- Template used recipe.id but service returns recipe.recipe_id - Add recipe count to home page stats Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
{% if recipes %}
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
|
||||
{% for recipe in recipes %}
|
||||
<a href="/recipe/{{ recipe.id }}"
|
||||
<a href="/recipe/{{ recipe.recipe_id }}"
|
||||
class="bg-gray-800 border border-gray-700 rounded-lg p-4 hover:border-gray-600 transition-colors">
|
||||
<div class="flex items-center justify-between mb-2">
|
||||
<span class="font-medium text-white">{{ recipe.name }}</span>
|
||||
|
||||
Reference in New Issue
Block a user