!!! 5 %html{ lang: "en", prefix: "og: https://ogp.me/ns#" } = yield :scripts = render "layouts/head" %body.d-flex.flex-column.vh-100 = query_diet_widget if Rails.env.development? .sr-only= link_to t(".skip"), "#skipnav" = render "layouts/header" -# anchor tag for accessibility link to skip the navigation menu %a{ name: 'skipnav' } .container #maincontainer - if content_for?(:breadcrumbs) %nav{ "aria-label" => "breadcrumb" } %ol.breadcrumb %li.breadcrumb-item= link_to 'Home', root_path = yield(:breadcrumbs) - if content_for?(:buttonbar) = yield(:buttonbar) - if content_for?(:subtitle) %small= yield(:subtitle) = render "shared/flash_messages", flash: flash %main= yield %footer.page-footer.font-small.bg-dark.pt-4.mt-auto= render "layouts/footer" / Javascripts \================================================== / Placed at the end of the document so the pages load faster = javascript_include_tag "application" != Rails.application.config.analytics_code