Skip to content

Commit

Permalink
Tags layout was fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tayfunoziserikan committed Mar 26, 2014
1 parent 74acc45 commit 3ad7d41
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
6 changes: 6 additions & 0 deletions source/assets/stylesheets/application.css.sass
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,9 @@ body#blog
h4, h5
font-weight: 400
margin-top: 4px

.tags-title
margin-bottom: 20px
font-weight: 300
strong
font-weight: 400
18 changes: 11 additions & 7 deletions source/tag.html.haml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
%section#posts
%h1
Articles tagged '#{tagname}'
%ul
%section
.row
.col-lg-9.col-lg-offset-3
%h1.tags-title
Articles tagged
%strong '#{tagname}'
- page_articles.each do |article|
%li
%span= article.date.strftime('%B %e, %Y')
= link_to article.title, article
%article.posts.row
.col-lg-2.col-lg-offset-1
%span.pull-right= article.date.strftime('%B %e, %Y')
.col-lg-8
%h1= link_to article.title, article

0 comments on commit 3ad7d41

Please sign in to comment.