Current section

Files

Jump to
literature lib literature templates layout root.html.heex
Raw

lib/literature/templates/layout/root.html.heex

<!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" />
<meta name="generator" content={"Literature #{Application.spec(:literature, :vsn)}"} />
<.meta_tags tags={assigns[:meta_tags] || %{}} current_url={current_url(@conn)} />
<link rel="canonical" href={canonical_path(@conn)} />
<.pagination_link_tags
routes={@conn.private.routes}
page={assigns[:page]}
current_url={current_url(@conn, %{})}
/>
<link
rel="shortcut icon"
type="image/png"
href={application_favicon_path(@conn, @view_module)}
/>
<link
rel="alternate"
type="application/rss+xml"
title={@publication.name}
href={application_rss_path(@conn, @view_module)}
/>
<link phx-track-static rel="stylesheet" href={application_css_path(@conn, @view_module)} />
<!-- Language tag -->
<.publication_language_tags publication={@publication} current_url={current_url(@conn, %{})} />
<.post_language_tags post={assigns[:post]} publication={@publication} />
<!-- END Language tag -->
<script
defer
phx-track-static
type="text/javascript"
src={application_js_path(@conn, @view_module)}
>
tagstagstags
</script>
</head>
<body>
<%= @inner_content %>
</body>
</html>