mirror of
https://github.com/meineerde/holgerjust.de.git
synced 2025-10-17 17:01:01 +00:00
We use the casper theme from https://github.com/danielbayerlein/middleman-casper in version 34ec5aa9e2a7f179146a5e21d31b4ba61e2bd926
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
---
|
|
pageable: true
|
|
per_page: 6
|
|
---
|
|
|
|
%header.main-header.author-head{cover}
|
|
%nav.main-nav.overlay.clearfix
|
|
- if blog_settings.logo.present?
|
|
%a.blog-logo{href: home_path}
|
|
= image_tag blog_settings.logo, alt: blog_settings.name
|
|
- if blog_settings.navigation
|
|
%a.menu-button.icon-menu{href: '#'}
|
|
%span.word Menu
|
|
|
|
%section.author-profile.inner
|
|
- if gravatar?
|
|
%figure.author-image
|
|
.img{style: "background-image: url(#{gravatar(114)})"}
|
|
%span.hidden #{blog_author.name}'s Picture
|
|
%h1.author-title= blog_author.name
|
|
- if blog_author.bio.present?
|
|
%h2.author-bio= blog_author.bio
|
|
.author-meta
|
|
- if blog_author.location.present?
|
|
%span.author-location.icon-location= blog_author.location
|
|
- if blog_author.website.present?
|
|
%span.author-link.icon-link
|
|
%a{href: blog_author.website}= blog_author.website
|
|
%span.author-stats
|
|
%i.icon-stats
|
|
= pluralize(blog.articles.count, 'post')
|
|
|
|
%main#content.content{role: :main}
|
|
= partial(:page_articles,
|
|
locals: { page_articles: page_articles, paginate: paginate })
|