diff options
author | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-09-21 15:45:39 +0200 |
---|---|---|
committer | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-09-21 15:45:39 +0200 |
commit | a16c6ca3a257960e0e9beee981f963f5ac6382e2 (patch) | |
tree | 64731bd4d8ac331a6f830f4d5585c0fb63d958b9 | |
parent | 63dbddf6c3d36549e55b80d4c720303d04dd3175 (diff) |
wrap main content in row and column
-rw-r--r-- | source/layouts/article_layout.html.haml | 10 | ||||
-rw-r--r-- | source/layouts/layout.haml | 4 |
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(); |