1
0
mirror of https://github.com/meineerde/holgerjust.de.git synced 2025-10-17 17:01:01 +00:00
holgerjust.de/source/partials/page_articles.haml
Holger Just 97ea6575af middleman init holgerjust.de --template=casper
We use the casper theme from
https://github.com/danielbayerlein/middleman-casper in version
34ec5aa9e2a7f179146a5e21d31b4ba61e2bd926
2015-08-26 18:43:13 +02:00

22 lines
697 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)
= link_to '»', article, class: 'read-more'
%footer.post-meta
- if gravatar?
%img.author-thumb{src: gravatar(24), alt: blog_author.name, nopin: 'nopin'}
%a{href: author_path}= blog_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