1
0
mirror of https://github.com/meineerde/holgerjust.de.git synced 2026-02-22 03:22:06 +00:00

Improve some wording

This commit is contained in:
Holger Just 2015-12-05 23:56:02 +01:00
parent de45c8da45
commit da59c9db4f
4 changed files with 9 additions and 8 deletions

View File

@ -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')

View File

@ -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

View File

@ -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'}

View File

@ -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,