mirror of
https://github.com/plausible/analytics.git
synced 2024-12-29 20:42:01 +03:00
257fa16cdc
* Simplify Phoenix error template * Test tracking script is not included in error pages * Test tracking script is not rendered in error templates * Rename error layout and remove unnecessary HTML boilerplate * Add layout setting to errors rendered without exceptions * Add skip_plausible_tracking option to more pages
22 lines
1.2 KiB
Elixir
22 lines
1.2 KiB
Elixir
<!DOCTYPE html>
|
|
<html lang="en" class="h-full">
|
|
<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"/>
|
|
<link rel="icon" type="image/png" sizes="32x32" href="<%= PlausibleWeb.Router.Helpers.static_path(PlausibleWeb.Endpoint, "/images/icon/plausible_favicon.png") %>">
|
|
<title>Plausible · Web analytics</title>
|
|
<link rel="stylesheet" href="<%= Routes.static_path(PlausibleWeb.Endpoint, "/css/app.css") %>"/>
|
|
</head>
|
|
<body class="flex flex-col h-full bg-gray-100 dark:bg-gray-900">
|
|
<div class="w-full my-8 text-center">
|
|
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(PlausibleWeb.Endpoint, "/images/icon/plausible_logo_dark.png"), class: "hidden dark:inline", style: "height: 2.5rem;", alt: "Plausible logo") %>
|
|
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(PlausibleWeb.Endpoint, "/images/icon/plausible_logo.png"), class: "inline dark:hidden", style: "height: 2.5rem;", alt: "Plausible logo")%>
|
|
</div>
|
|
|
|
<%= @inner_content %>
|
|
|
|
<script type="text/javascript" src="<%= Routes.static_path(PlausibleWeb.Endpoint, "/js/app.js") %>"></script>
|
|
</body>
|
|
</html>
|