diff options
Diffstat (limited to 'app/views/custom/partials')
| -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> |
