summaryrefslogtreecommitdiff
path: root/source/layouts
diff options
context:
space:
mode:
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();