fixes
This commit is contained in:
parent
a7e8651c0b
commit
bab6d25d40
3 changed files with 11 additions and 3 deletions
lib/home73k_web/live
|
@ -17,7 +17,7 @@
|
|||
<div class="post border-bottom border-gray pb-4 mb-3">
|
||||
|
||||
<h2 class="post-title fs-2 fw-600 mb-2">
|
||||
<%= live_redirect "#{post.title}", to: Routes.blog_path(@socket, :show, post) %>
|
||||
<%= @live_action == :show && post.title || live_redirect "#{post.title}", to: Routes.blog_path(@socket, :show, post) %>
|
||||
</h2>
|
||||
|
||||
<div class="post-date font-monospace text-gray-400 <%= if length(post.tags) == 0, do: "mb-3" %>">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue