Skip to content

Commit

Permalink
Fix conditional comments
Browse files Browse the repository at this point in the history
Closes GH-101.
  • Loading branch information
mirisuzanne committed Aug 25, 2012
1 parent e1161e1 commit d8792bd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
3 changes: 2 additions & 1 deletion docs/source/layouts/grid-types.haml
Expand Up @@ -2,7 +2,8 @@
/[if lt IE 7] <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en">
/[if IE 7] <html class="no-js lt-ie9 lt-ie8" lang="en">
/[if IE 8] <html class="no-js lt-ie9" lang="en">
/ [if gt IE 8]><!
:plain
<!--[if (gt IE 8)|!(IE)]><!-->
%html.no-js{:lang => "en"}
/ <![endif]

Expand Down
19 changes: 10 additions & 9 deletions docs/source/layouts/layout.haml
Expand Up @@ -2,31 +2,32 @@
/[if lt IE 7] <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en">
/[if IE 7] <html class="no-js lt-ie9 lt-ie8" lang="en">
/[if IE 8] <html class="no-js lt-ie9" lang="en">
/ [if gt IE 8]><!
:plain
<!--[if (gt IE 8)|!(IE)]><!-->
%html.no-js{:lang => "en"}
/ <![endif]

= partial "partials/head"

%body{ :id => "susy-oddbird-net", :class => page_classes }

%div.page

%header{ :role => "banner" }
%h1
%h1
%a.home{ :href => "/"} <b>S</b><span>usy</span>
%h2 Responsive grids for <a href="http://www.compass-style.org/">Compass</a>.

%nav{ :role => "navigation" }
= partial "partials/navigation"

%section{ :role => "main" }

~ yield

-if page_side_content
%aside.secondary= page_side_content

%footer{ :role => "contentinfo" }
= partial "partials/contentinfo"

Expand All @@ -35,5 +36,5 @@
%a{ :href => "#susy-oddbird-net" } show grid
%li.off
%a{ :href => "#" } hide grid

= partial "partials/javascripts"
10 changes: 5 additions & 5 deletions docs/source/layouts/magic.haml
Expand Up @@ -2,14 +2,15 @@
/[if lt IE 7] <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en">
/[if IE 7] <html class="no-js lt-ie9 lt-ie8" lang="en">
/[if IE 8] <html class="no-js lt-ie9" lang="en">
/ [if gt IE 8]><!
:plain
<!--[if (gt IE 8)|!(IE)]><!-->
%html.no-js{:lang => "en"}
/ <![endif]

= partial "partials/head"

%body{ :id => "susy-oddbird-net", :class => page_classes }

= partial "partials/demonav"

%section.page
Expand All @@ -29,6 +30,5 @@

%footer.contentinfo{ :role => "contentinfo" }
= partial "partials/contentinfo"

= partial "partials/javascripts"

0 comments on commit d8792bd

Please sign in to comment.