From c4296b59a7f9d667d295f9c37b71f7849b818fb3 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Tue, 28 Jan 2025 22:47:15 +0100 Subject: Big overhaul patch and style changes --- app/views/custom/partials/_article.html.erb | 4 ++-- app/views/custom/partials/_no_date_and_author.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'app/views/custom/partials') diff --git a/app/views/custom/partials/_article.html.erb b/app/views/custom/partials/_article.html.erb index 433c31c8..b738ac78 100644 --- a/app/views/custom/partials/_article.html.erb +++ b/app/views/custom/partials/_article.html.erb @@ -1,7 +1,7 @@ -
+

<%= link_to_path page.title, page.node.unique_name %>

<%= date_for_page page %>, <%= author_for_page page %>

<%= page.abstract %> <%= link_to_path t(:more), page.node.unique_name %>

-
\ No newline at end of file +
diff --git a/app/views/custom/partials/_no_date_and_author.html.erb b/app/views/custom/partials/_no_date_and_author.html.erb index 61d6aacf..fed02ac9 100644 --- a/app/views/custom/partials/_no_date_and_author.html.erb +++ b/app/views/custom/partials/_no_date_and_author.html.erb @@ -1,4 +1,4 @@ -
+

<%= link_to page.title, content_path(page.node.unique_path) %>

<%= page.abstract %>

-
\ No newline at end of file +
-- cgit v1.3