37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
|
|
<meta name="csrf-token" content={Plug.CSRFProtection.get_csrf_token()} />
|
|
<title>{page_title(@conn)}</title>
|
|
<link phx-track-static rel="stylesheet" href={Routes.static_path(@conn, "/assets/app.css")} />
|
|
<link rel="shortcut icon" href={Routes.static_path(@conn, "/images/favicon.png")} />
|
|
|
|
<%= if function_exported?(view_module(@conn), :head, 2) do %>
|
|
{view_module(@conn).head(view_template(@conn), assigns)}
|
|
<% end %>
|
|
|
|
<!-- Custom Pivoine Rose Theme -->
|
|
<link rel="stylesheet" href="/theme/custom.css" />
|
|
<link rel="icon" type="image/svg+xml" href="/theme/favicon.svg" />
|
|
</head>
|
|
|
|
<body class={"l-app " <> body_class(@conn)}>
|
|
{render("_header.html", conn: @conn, current_user: @current_user)}
|
|
{render("_flash.html", flash: @flash)}
|
|
|
|
<main role="main">
|
|
{@inner_content}
|
|
</main>
|
|
|
|
{render("_footer.html", conn: @conn)}
|
|
<script>
|
|
window.__asciinema__workerUrl = '<%= Routes.static_path(@conn, "/js/player-worker.min.js") %>';
|
|
</script>
|
|
<script phx-track-static src={Routes.static_path(@conn, "/assets/app.js")}>
|
|
</script>
|
|
</body>
|
|
</html>
|