summaryrefslogtreecommitdiff
path: root/source/layouts
diff options
context:
space:
mode:
authorLars Henrik Mai <lars.mai@kontinui.de>2014-09-21 15:45:39 +0200
committerLars Henrik Mai <lars.mai@kontinui.de>2014-09-21 15:45:39 +0200
commita16c6ca3a257960e0e9beee981f963f5ac6382e2 (patch)
tree64731bd4d8ac331a6f830f4d5585c0fb63d958b9 /source/layouts
parent63dbddf6c3d36549e55b80d4c720303d04dd3175 (diff)
wrap main content in row and column
Diffstat (limited to 'source/layouts')
-rw-r--r--source/layouts/article_layout.html.haml10
-rw-r--r--source/layouts/layout.haml4
2 files changed, 7 insertions, 7 deletions
diff --git a/source/layouts/article_layout.html.haml b/source/layouts/article_layout.html.haml
index 30fd382..450d470 100644
--- a/source/layouts/article_layout.html.haml
+++ b/source/layouts/article_layout.html.haml
@@ -1,9 +1,7 @@
-# TODO de-duplicate with _article partial
= wrap_layout :layout do
- .row
- .column
- %article
- %aside.blog-date= current_article.date.strftime('%e %b %Y')
- .blog-inner
- %h3.blog-article-heading= current_article.title
+ %article
+ %aside.blog-date= current_article.date.strftime('%e %b %Y')
+ .blog-inner
+ %h3.blog-article-heading= current_article.title
= yield
diff --git a/source/layouts/layout.haml b/source/layouts/layout.haml
index 23e524e..cd62804 100644
--- a/source/layouts/layout.haml
+++ b/source/layouts/layout.haml
@@ -21,7 +21,9 @@
/ content
#content
%section#main
- = yield
+ .row
+ .columns
+ = yield
/ javascript initialization
:javascript
$(document).foundation();