fix blog tag clicks, and new post

This commit is contained in:
Firehose Bot
2026-03-19 22:14:19 +00:00
parent be4be118a3
commit 671add15bb
10 changed files with 208 additions and 176 deletions
@@ -1,4 +1,4 @@
<div class="space-y-8">
<a href={@base_path} class="text-sm text-primary hover:underline">&larr; Back to posts</a>
<.post_show post={@post} />
<.post_show post={@post} base_path={@base_path} />
</div>
@@ -4,7 +4,7 @@
<p class="mt-2 text-base-content/70">Posts tagged "{@tag}"</p>
</header>
<.post_index posts={@posts} base_path={@base_path} />
<.post_index posts={@posts} base_path={@base_path} current_tag={@tag} />
<a href={@base_path} class="text-sm text-primary hover:underline">&larr; All posts</a>
</div>