From 7bd2525fa936e117abd7503844c9dab73d87de1a Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 30 Jul 2026 23:40:28 +0200 Subject: Promote article title from h2 to h1 and fix css accordingly --- app/views/custom/page_templates/public/chapter_detail.html.erb | 2 +- app/views/custom/page_templates/public/no_date_and_author.html.erb | 2 +- .../custom/page_templates/public/no_date_and_author_with_map.html.erb | 2 +- app/views/custom/page_templates/public/standard_template.html.erb | 2 +- app/views/custom/page_templates/public/title_only.html.erb | 2 +- app/views/custom/page_templates/public/update.html.erb | 2 +- app/views/search/index.html.erb | 2 +- app/views/tags/show.html.erb | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'app/views') 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 @@
-

<%= @page.title %>

+

<%= @page.title %>

<%= headline_image %> <% if @page.node.external_url.present? %>
<%= link_to @page.node.external_url, @page.node.external_url, target: '_blank', rel: 'noopener' %>
diff --git a/app/views/custom/page_templates/public/no_date_and_author.html.erb b/app/views/custom/page_templates/public/no_date_and_author.html.erb index ec7e8501..ddfc2fac 100644 --- a/app/views/custom/page_templates/public/no_date_and_author.html.erb +++ b/app/views/custom/page_templates/public/no_date_and_author.html.erb @@ -1,5 +1,5 @@
-

<%= @page.title %>

+

<%= @page.title %>

<%= sanitize( @page.abstract ) %>

<%= headline_image %>
<%= aggregate?(@page.body) %> diff --git a/app/views/custom/page_templates/public/no_date_and_author_with_map.html.erb b/app/views/custom/page_templates/public/no_date_and_author_with_map.html.erb index 6e86edff..d10fbff7 100644 --- a/app/views/custom/page_templates/public/no_date_and_author_with_map.html.erb +++ b/app/views/custom/page_templates/public/no_date_and_author_with_map.html.erb @@ -1,5 +1,5 @@
-

<%= @page.title %>

+

<%= @page.title %>

<%= sanitize( @page.abstract ) %>

<%= aggregate?(@page.body) %> diff --git a/app/views/custom/page_templates/public/standard_template.html.erb b/app/views/custom/page_templates/public/standard_template.html.erb index e1e2eb08..9c5bb5bf 100644 --- a/app/views/custom/page_templates/public/standard_template.html.erb +++ b/app/views/custom/page_templates/public/standard_template.html.erb @@ -1,5 +1,5 @@
-

<%= @page.title %>

+

<%= @page.title %>

<%= sanitize( @page.abstract )%>

<%= headline_image %>
<%= aggregate?(@page.body) %>
diff --git a/app/views/custom/page_templates/public/title_only.html.erb b/app/views/custom/page_templates/public/title_only.html.erb index d706e9dc..eaf7b1a8 100644 --- a/app/views/custom/page_templates/public/title_only.html.erb +++ b/app/views/custom/page_templates/public/title_only.html.erb @@ -1,5 +1,5 @@
-

<%= @page.title %>

+

<%= @page.title %>

<%= headline_image %>
<%= aggregate?(@page.body) %> <%= render partial: 'content/asset_credits' %> diff --git a/app/views/custom/page_templates/public/update.html.erb b/app/views/custom/page_templates/public/update.html.erb index f460f621..2174e358 100644 --- a/app/views/custom/page_templates/public/update.html.erb +++ b/app/views/custom/page_templates/public/update.html.erb @@ -1,5 +1,5 @@
-

<%= @page.title %>

+

<%= @page.title %>

<%= date_and_time_for_page @page %>, <%= @page.user.try(:login) %>

<%= sanitize( @page.abstract )%>

<%= headline_image %>
diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb index bb8f63b7..5fd004ef 100644 --- a/app/views/search/index.html.erb +++ b/app/views/search/index.html.erb @@ -1,5 +1,5 @@ <% if params[:search_term] %> -

<%= t(".results_for", :query => params[:search_term]) %>

+

<%= t(".results_for", :query => params[:search_term]) %>

<% end %> <%= diff --git a/app/views/tags/show.html.erb b/app/views/tags/show.html.erb index eddf9b88..b46475ff 100644 --- a/app/views/tags/show.html.erb +++ b/app/views/tags/show.html.erb @@ -1,4 +1,4 @@ -

<%= t(:show_tag_headline) %> »<%=h @tag %>«

+

<%= t(:show_tag_headline) %> »<%=h @tag %>«