From 1ae282f091aa77990efec98c7ba00b91d427819d Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 23 Jul 2026 22:55:25 +0200 Subject: More tiny visual cleanups --- app/views/custom/partials/_article.html.erb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app/views/custom') diff --git a/app/views/custom/partials/_article.html.erb b/app/views/custom/partials/_article.html.erb index 8485698a..2a76bdcc 100644 --- a/app/views/custom/partials/_article.html.erb +++ b/app/views/custom/partials/_article.html.erb @@ -4,11 +4,11 @@ <%= date_for_page page %>, <%= author_for_page page %>
- <% if (headline = page.headline_asset) && headline.has_variant?(:thumb) %> -
- <%= link_to_path image_tag(headline.upload.url(:thumb), :alt => ""), page.node.unique_name %> -
- <% end %> -

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

-
+ <% if (headline = page.headline_asset) && headline.has_variant?(:medium) %> +
+ <%= link_to_path image_tag(headline.upload.url(:medium), :alt => ""), page.node.unique_name %> +
+ <% end %> +

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

+ -- cgit v1.3