added capacity for pulling static pages from multiple directory source trees.
[leap_website.git] / app / views / layouts / application.html.haml
1 !!! 5
2 %html{:dir=>'ltr'}
3   %head
4     %title #{site.title} - #{page_title}
5     = stylesheet_link_tag    "application", :media => "all"
6     = javascript_include_tag "application"
7     = csrf_meta_tags
8   %body
9     .top
10       .column_container
11         .column_content
12           .masthead
13             .contents
14               %h1 LEAP Encryption Access Project
15               %ul#topnav
16                 = top_level_navigation_links
17     .middle
18       .column_container
19         .column_content
20           - if has_side_column?
21             .side_column
22               = side_column_navigation_links
23           .main_column{:class => main_column_class}
24             = content_for?(:content) ? yield(:content) : yield
25     .bottom
26       .column_container
27         .column_content
28           = render :partial => 'layouts/footer'
29     .background