fix: nest market blueprint under post slug /<slug>/<market_slug>/
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 43s

Market app now follows the events app pattern — URLs include
the post slug prefix (e.g. /market/suma-market/). Hydrate
loads both post and market, verifying market belongs to post.
Scraper default URLs updated accordingly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-10 20:15:45 +00:00
parent b831d01113
commit 6202b31e8e
6 changed files with 53 additions and 40 deletions

View File

@@ -7,7 +7,7 @@
{% if markets %}
<div class="grid gap-4">
{% for m in markets %}
<a href="/{{ m.slug }}/"
<a href="/{{ m.post.slug }}/{{ m.slug }}/"
class="block p-6 bg-white border border-stone-200 rounded-lg hover:border-stone-400 transition-colors">
<h2 class="text-lg font-semibold">{{ m.name }}</h2>
{% if m.description %}