summaryrefslogtreecommitdiff
path: root/app/views/custom/page_templates/public/chapter_detail.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-30 23:40:28 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-30 23:40:28 +0200
commit7bd2525fa936e117abd7503844c9dab73d87de1a (patch)
treece1d752107709e01943be99267af2465dfd70d7f /app/views/custom/page_templates/public/chapter_detail.html.erb
parent22539dff8d36279002bc9694a8433fef784869e1 (diff)
Promote article title from h2 to h1 and fix css accordingly
Diffstat (limited to 'app/views/custom/page_templates/public/chapter_detail.html.erb')
-rw-r--r--app/views/custom/page_templates/public/chapter_detail.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/custom/page_templates/public/chapter_detail.html.erb b/app/views/custom/page_templates/public/chapter_detail.html.erb
index 18449b80..794be823 100644
--- a/app/views/custom/page_templates/public/chapter_detail.html.erb
+++ b/app/views/custom/page_templates/public/chapter_detail.html.erb
@@ -1,5 +1,5 @@
1<div class="article" lang="<%= @page.effective_lang %>"> 1<div class="article" lang="<%= @page.effective_lang %>">
2 <h2 class="headline"><%= @page.title %></h2> 2 <h1 class="headline"><%= @page.title %></h1>
3 <%= headline_image %> 3 <%= headline_image %>
4 <% if @page.node.external_url.present? %> 4 <% if @page.node.external_url.present? %>
5 <div class="chapter_url"><%= link_to @page.node.external_url, @page.node.external_url, target: '_blank', rel: 'noopener' %></div> 5 <div class="chapter_url"><%= link_to @page.node.external_url, @page.node.external_url, target: '_blank', rel: 'noopener' %></div>