diff --git a/source/author.html.haml b/source/author.html.haml index 4d947a9..633fafd 100644 --- a/source/author.html.haml +++ b/source/author.html.haml @@ -26,7 +26,7 @@ per_page: 6 = partial(:profile_links) - if blog_author.website.present? %span.author-link.icon-link - %a{href: blog_author.website}= blog_author.website + %a{href: blog_author.website}= blog_author.website.sub(%r{^https?://}, '') %span.author-stats %i.icon-stats = pluralize(blog.articles.count, 'post') diff --git a/source/layouts/post.haml b/source/layouts/post.haml index 9d9e645..101e316 100644 --- a/source/layouts/post.haml +++ b/source/layouts/post.haml @@ -13,6 +13,7 @@ %header.post-header %h1.post-title= current_article.title %section.post-meta + published at %time.post-date{datetime: current_article.date.strftime('%Y-%m-%d')} = current_article.date.strftime(blog_settings.date_format) - if tags? @@ -29,13 +30,13 @@ %h4 %a{href: author_path}= blog_author.name - %p - if blog_author.bio.present? = blog_author.bio - else - Read - %a{href: author_path} more posts - by this author. + %p + Read + %a{href: author_path} more posts + by this author. - if blog_author.location.present? || blog_author.website.present? .author-meta @@ -44,7 +45,7 @@ = partial(:profile_links) - if blog_author.website.present? %span.author-link.icon-link - %a{href: blog_author.website}= blog_author.website + %a{href: blog_author.website}= blog_author.website.sub(%r{^https?://}, '') %section.share %h4 Share this post diff --git a/source/partials/page_articles.haml b/source/partials/page_articles.haml index 682e0ab..4234fab 100644 --- a/source/partials/page_articles.haml +++ b/source/partials/page_articles.haml @@ -8,7 +8,7 @@ %section.post-excerpt %p = summary(article) - = link_to '»', article, class: 'read-more' + = link_to '» Read more', article, class: 'read-more' %footer.post-meta - if gravatar? %img.author-thumb{src: gravatar(24), alt: blog_author.name, nopin: 'nopin'} diff --git a/source/tag.html.haml b/source/tag.html.haml index 1024cfb..60635ac 100644 --- a/source/tag.html.haml +++ b/source/tag.html.haml @@ -14,7 +14,7 @@ per_page: 6 .vertical .main-header-content.inner %h1.page-title= tagname - %h2.page-description A #{page_articles.count}-post collection + %h2.page-description= pluralize(page_articles.count, 'post') %main#content.content{role: :main} = partial(:page_articles,