From e19787c6ca542736db40e042554f5c0103531821 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 6 Aug 2026 05:17:27 +0200 Subject: Rebuild the sitemap rows around the shared title and action patterns --- app/views/nodes/show.html.erb | 11 +++++- app/views/nodes/sitemap.html.erb | 50 +++++++++++++++++++----- config/locales/de.yml | 7 +++- config/locales/en.yml | 7 +++- public/stylesheets/admin.css | 64 ++++++++++++++++++++++++++----- test/controllers/nodes_controller_test.rb | 20 ++++++---- 6 files changed, 130 insertions(+), 29 deletions(-) diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb index a94e001c..105e37ea 100644 --- a/app/views/nodes/show.html.erb +++ b/app/views/nodes/show.html.erb @@ -231,7 +231,7 @@ <% end %> - <% if @node.head %> + <% if @node.head && !@node.root? %> <% end %> + <% if @node.root? %> + + <% end %> + <% if @node.draft %>