diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/custom/partials/_article.html.erb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/views/custom/partials/_article.html.erb b/app/views/custom/partials/_article.html.erb index b738ac78..8485698a 100644 --- a/app/views/custom/partials/_article.html.erb +++ b/app/views/custom/partials/_article.html.erb | |||
| @@ -3,5 +3,12 @@ | |||
| 3 | <div class="author_and_date"> | 3 | <div class="author_and_date"> |
| 4 | <%= date_for_page page %>, <%= author_for_page page %> | 4 | <%= date_for_page page %>, <%= author_for_page page %> |
| 5 | </div> | 5 | </div> |
| 6 | <p class="excerpt"><%= page.abstract %> <%= link_to_path t(:more), page.node.unique_name %></p> | 6 | <div class="article_partial_layout"> |
| 7 | <% if (headline = page.headline_asset) && headline.has_variant?(:thumb) %> | ||
| 8 | <div class="article_thumbnail"> | ||
| 9 | <%= link_to_path image_tag(headline.upload.url(:thumb), :alt => ""), page.node.unique_name %> | ||
| 10 | </div> | ||
| 11 | <% end %> | ||
| 12 | <p class="excerpt"><%= page.abstract %> <%= link_to_path t(:more), page.node.unique_name %></p> | ||
| 13 | </div> | ||
| 7 | </div> | 14 | </div> |
