home73k/lib/home73k_web/templates/layout/root.html.leex

47 lines
2.8 KiB
Text
Raw Normal View History

2021-03-28 21:12:55 -04:00
<!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"/>
<%= csrf_meta_tag() %>
2021-03-29 19:50:47 -04:00
<%= live_title_tag assigns[:page_title] || "", prefix: assigns[:page_title] && "73k \\ " || "73k" %>
<meta name="author" content="Adam Piontek"/>
2021-04-07 07:32:01 -04:00
<link rel="alternate" type="application/rss+xml" title="73k Blog - Adam Piontek" href="<%= Routes.feed_path(@conn, :rss) %>" />
<link rel="preload" href="<%= Routes.static_path(@conn, "/images/icons.svg") %>" as="image" type="image/svg+xml" crossorigin="anonymous">
<link rel="preload" href="<%= Routes.static_path(@conn, "/fonts/righteous-latin-400-normal.woff2") %>" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="<%= Routes.static_path(@conn, "/fonts/open-sans-latin-400-normal.woff2") %>" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="<%= Routes.static_path(@conn, "/fonts/fira-code-latin-400-normal.woff2") %>" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="<%= Routes.static_path(@conn, "/fonts/open-sans-latin-600-normal.woff2") %>" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="me" href="mailto:adam@73k.us"/>
<link rel="me" href="sms:+16462341697"/>
<link rel="authorization_endpoint" href="https://indieauth.com/auth"/>
<link rel="apple-touch-icon" sizes="180x180" href="<%= Routes.static_path(@conn, "/apple-touch-icon.png") %>">
<link rel="icon" type="image/png" sizes="32x32" href="<%= Routes.static_path(@conn, "/favicon-32x32.png") %>">
<link rel="icon" type="image/png" sizes="16x16" href="<%= Routes.static_path(@conn, "/favicon-16x16.png") %>">
<link rel="manifest" href="<%= Routes.static_path(@conn, "/site.webmanifest") %>">
<link rel="mask-icon" href="<%= Routes.static_path(@conn, "/safari-pinned-tab.svg") %>" color="#78868a">
<meta name="apple-mobile-web-app-title" content="73k">
<meta name="application-name" content="73k">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="theme-color" content="#ffffff">
<link rel="icon" href="favicon.ico">
2021-03-28 21:12:55 -04:00
<link phx-track-static rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
<script defer phx-track-static type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
</head>
<body>
2021-03-29 19:50:47 -04:00
<%= render "_navbar.html", assigns %>
2021-03-29 19:50:47 -04:00
<%= @inner_content %>
2021-04-06 19:17:24 -04:00
<%#= if footer_absolute?(@conn) do %>
<footer class="footer73k footer bottom-0 end-0 bg-dark">
<div class="px-2 px-sm-3">
<span class="text-gray-300">&copy; Copyright <%= Date.utc_today |> Map.get(:year) %> Adam Piontek</span>
2021-04-06 19:17:24 -04:00
</div>
</footer>
2021-03-28 21:12:55 -04:00
</body>
</html>