From a959d491e80a089a5100fe571ce8febe2f44e70d Mon Sep 17 00:00:00 2001 From: Skud Date: Mon, 17 Sep 2012 18:24:49 +0100 Subject: [PATCH] added comments to explain mix of HTML and HAML in header/footer fragments --- app/views/layouts/_footer.html.haml | 1 + app/views/layouts/_header.html.haml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml index 26979a2e3..a92d8777c 100644 --- a/app/views/layouts/_footer.html.haml +++ b/app/views/layouts/_footer.html.haml @@ -1,4 +1,5 @@ +- # There are some tags here, such as these close div tags and the close body and html tags below, which were opened in the header fragment. HAML can't handle this, so they're done in HTML instead. .row .ten.columns diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml index 84733ad19..0ed4e4aa2 100644 --- a/app/views/layouts/_header.html.haml +++ b/app/views/layouts/_header.html.haml @@ -1,4 +1,5 @@ +- # There are some tags here, such as html, body, etc, which are opened in this file and closed in the footer fragment. HAML can't handle this, so they're left as HTML. If you were wondering. %head