mirror of
https://github.com/meineerde/holgerjust.de.git
synced 2025-10-17 17:01:01 +00:00
23 lines
961 B
Plaintext
23 lines
961 B
Plaintext
.extra-pagination.inner
|
|
= partial(:pagination) if paginate
|
|
|
|
- page_articles.each do |article|
|
|
%article.post
|
|
%header.post-header
|
|
%h2.post-title= link_to article.title, article
|
|
%section.post-excerpt
|
|
%p
|
|
= summary(article)
|
|
%p
|
|
= link_to '» Read more', article, class: 'read-more'
|
|
%footer.post-meta
|
|
- if gravatar?
|
|
%img.author-thumb{src: gravatar(article.data.author, size: 24), srcset: "#{gravatar(article.data.author, size: 24)} 1x, #{gravatar(article.data.author, size: 24*2)} 2x, #{gravatar(article.data.author, size: 24*3)} 3x", alt: blog_author(article.data.author).name, nopin: 'nopin'}
|
|
%a{href: author_path(article.data.author)}= blog_author(article.data.author).name
|
|
- if tags?(article)
|
|
on #{tags(article)}
|
|
%time.post-date{datetime: article.date.strftime('%Y-%m-%d')}
|
|
= article.date.strftime(blog_settings.date_format)
|
|
|
|
= partial(:pagination) if paginate
|