philomena/lib/philomena_web/templates/layout/app.html.slime

28 lines
1.2 KiB
Text
Raw Normal View History

2019-08-17 20:58:36 +02:00
doctype html
html lang="en"
head
meta charset="utf-8"
meta http-equiv="X-UA-Compatible" content="IE=edge"
2019-08-18 02:43:44 +02:00
meta name="viewport" content="width=device-width, initial-scale=1"
title
2019-08-17 20:58:36 +02:00
= if assigns[:title] do
=> assigns[:title]
' - Philomena
- else
' Philomena
link rel="stylesheet" href=Routes.static_path(@conn, "/css/app.css")
2019-08-18 02:43:44 +02:00
link rel="icon" href="/favicon.ico" type="image/x-icon"
link rel="icon" href="/favicon.svg" type="image/svg+xml"
meta name="generator" content="philomena"
meta name="theme-color" content="#618fc3"
meta name="format-detection" content="telephone=no"
meta name="robots" content="noindex, nofollow"
script type="text/javascript" src=Routes.static_path(@conn, "/js/app.js") async="async"
body data-theme="default"
= render PhilomenaWeb.LayoutView, "_burger.html", assigns
#container
= render PhilomenaWeb.LayoutView, "_header.html", assigns
= render PhilomenaWeb.LayoutView, "_flash_warnings.html", assigns
main#content class="layout--narrow"
= render @view_module, @view_template, assigns
= render PhilomenaWeb.LayoutView, "_footer.html", assigns