diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-23 22:55:25 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-23 22:55:25 +0200 |
| commit | 1ae282f091aa77990efec98c7ba00b91d427819d (patch) | |
| tree | b7577c6a893b6c8ad1b81089a9e296fd7648e22c /app | |
| parent | c9a27bf83f2421fb794d053ea3e3bdc8bd18d155 (diff) | |
More tiny visual cleanups
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/custom/partials/_article.html.erb | 14 |
1 files changed, 7 insertions, 7 deletions
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 @@ | |||
| 4 | <%= date_for_page page %>, <%= author_for_page page %> | 4 | <%= date_for_page page %>, <%= author_for_page page %> |
| 5 | </div> | 5 | </div> |
| 6 | <div class="article_partial_layout"> | 6 | <div class="article_partial_layout"> |
| 7 | <% if (headline = page.headline_asset) && headline.has_variant?(:thumb) %> | 7 | <% if (headline = page.headline_asset) && headline.has_variant?(:medium) %> |
| 8 | <div class="article_thumbnail"> | 8 | <div class="article_thumbnail"> |
| 9 | <%= link_to_path image_tag(headline.upload.url(:thumb), :alt => ""), page.node.unique_name %> | 9 | <%= link_to_path image_tag(headline.upload.url(:medium), :alt => ""), page.node.unique_name %> |
| 10 | </div> | 10 | </div> |
| 11 | <% end %> | 11 | <% end %> |
| 12 | <p class="excerpt"><%= page.abstract %> <%= link_to_path t(:more), page.node.unique_name %></p> | 12 | <p class="excerpt"><%= page.abstract %> <%= link_to_path t(:more), page.node.unique_name %></p> |
| 13 | </div> | 13 | </div> |
| 14 | </div> | 14 | </div> |
