From a16c6ca3a257960e0e9beee981f963f5ac6382e2 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Sun, 21 Sep 2014 15:45:39 +0200 Subject: wrap main content in row and column --- source/layouts/article_layout.html.haml | 10 ++++------ source/layouts/layout.haml | 4 +++- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'source') 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(); -- cgit v1.2.1