From 780e7f0d882a22503f9ce7caab0a2e969e8529e6 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 21 Jul 2014 02:17:06 -0700 Subject: initial draft content --- amber/layouts/default.html.haml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 amber/layouts/default.html.haml (limited to 'amber/layouts/default.html.haml') diff --git a/amber/layouts/default.html.haml b/amber/layouts/default.html.haml new file mode 100644 index 0000000..0ee9b0f --- /dev/null +++ b/amber/layouts/default.html.haml @@ -0,0 +1,41 @@ +!!! +%html{:lang => @locals[:locale].to_s} + %head + %title + = @page.nav_title + ' - ' + @site.title + %meta(name="viewport" content="width=device-width, initial-scale=1.0") + %meta(charset="UTF-8") + %link(rel="stylesheet" href="/assets/bootstrap.min.css") + %link(rel="stylesheet" href="/assets/font-awesome/css/font-awesome.min.css") + %link(rel="stylesheet" href="/assets/style.css") + %link(rel="icon" href="/assets/images/favicon.png" type="image/x-icon") + = html_head_base + %body + #wrap + #masthead + = render 'layouts/masthead' + #main.container + .row + - if has_navigation? + #sidebar.col-sm-3.col-md-2 + = render 'layouts/sidebar' + .col-sm-9.col-md-10 + .shadow-box + .title-box + = yield :title + - if @page.props.summary + .summary + = @page.props.summary + .content-box + - if translation_missing? + .alert.alert-info= t(:missing_translation) + = yield :content + - else + .col-sm-12 + .shadow-box + .title-box + = yield :title + .content-box + = yield :content + #footer + = render 'layouts/footer' -- cgit v1.2.3