mirror of
https://github.com/meineerde/holgerjust.de.git
synced 2025-10-17 17:01:01 +00:00
38 lines
1.1 KiB
Plaintext
38 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
|
|
.author-bio
|
|
= blog_author.bio
|
|
= blog_author.bio_full
|
|
.author-meta
|
|
- if blog_author.location.present?
|
|
%span.author-location.icon-location= blog_author.location
|
|
= partial(:profile_links)
|
|
- if blog_author.website.present?
|
|
%span.author-link.icon-link
|
|
%a{href: blog_author.website}= blog_author.website.sub(%r{^https?://}, '')
|
|
%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 })
|