Skip to content

Commit 04cde7d

Browse files
committed
Topic detail page update
1 parent 5caea73 commit 04cde7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/views/topics/show.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<% topic = @topic
22
topics = @topics %>
33

4-
<%= render Pages::Header.new(title: "Topics") %>
4+
<%= render Pages::Header.new(title: "Topics on Joy of Rails") %>
55

66
<div class="column-content container py-gap mb-3xl">
77
<nav class="sidebar" data-turbo-permanent>
@@ -17,6 +17,7 @@
1717
</div>
1818
</div>
1919
<% else %>
20+
<h3 class="mb-8">Topic: <%= topic.name %></h3>
2021
<ul>
2122
<% topic.pages.as_published_articles.each do |page| %>
2223
<%= tag.li id: dom_id(page) do %>

0 commit comments

Comments
 (0)