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-12-20 15:19:43 +01:00
|
|
|
= viewport_meta_tag(@conn)
|
|
|
|
|
2019-08-18 02:43:44 +02:00
|
|
|
title
|
2019-08-17 20:58:36 +02:00
|
|
|
= if assigns[:title] do
|
|
|
|
=> assigns[:title]
|
2019-12-20 05:09:47 +01:00
|
|
|
' - Derpibooru
|
2019-08-17 20:58:36 +02:00
|
|
|
- else
|
2019-12-20 05:09:47 +01:00
|
|
|
' Derpibooru
|
2019-11-16 01:59:28 +01:00
|
|
|
link rel="stylesheet" href=stylesheet_path(@conn, @current_user)
|
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"
|
2019-11-13 05:49:37 +01:00
|
|
|
= csrf_meta_tag()
|
2019-08-18 02:43:44 +02:00
|
|
|
script type="text/javascript" src=Routes.static_path(@conn, "/js/app.js") async="async"
|
2019-12-04 02:56:39 +01:00
|
|
|
= render PhilomenaWeb.LayoutView, "_opengraph.html", assigns
|
2019-12-16 03:35:07 +01:00
|
|
|
body data-theme=theme_name(@current_user)
|
2019-08-18 02:43:44 +02:00
|
|
|
= render PhilomenaWeb.LayoutView, "_burger.html", assigns
|
2019-11-30 23:40:53 +01:00
|
|
|
#container class=container_class(@current_user)
|
2019-08-18 02:43:44 +02:00
|
|
|
= render PhilomenaWeb.LayoutView, "_header.html", assigns
|
|
|
|
= render PhilomenaWeb.LayoutView, "_flash_warnings.html", assigns
|
2019-11-17 23:51:14 +01:00
|
|
|
main#content class=layout_class(@conn)
|
2019-08-18 02:43:44 +02:00
|
|
|
= render @view_module, @view_template, assigns
|
2019-10-05 02:27:26 +02:00
|
|
|
= render PhilomenaWeb.LayoutView, "_footer.html", assigns
|
2019-12-16 03:35:07 +01:00
|
|
|
= clientside_data(@conn)
|