Skip to content

Commit

Permalink
make post titles a proper link
Browse files Browse the repository at this point in the history
  • Loading branch information
Oaphi committed Oct 22, 2023
1 parent 00a2e0d commit 8c45826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/posts/_expanded.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<% title = post.title +
(post.closed && !post.duplicate_post ? " [closed]" : "") +
(post.duplicate_post ? " [duplicate]" : "") %>
<span class="post--title-text"><%= title %></span>
<a href="<%= generic_share_link(post) %>" class="post--title-text"><%= title %></a>
<% if category.display_post_types.reject { |e| e.to_s.empty? }.size > 1 %>
<%= post_type_badge(post_type) %>
<% end %>
Expand Down

0 comments on commit 8c45826

Please sign in to comment.