25/lib/mse25_web/components/layouts/root.html.heex
Anders Englöf Ytterström 8bbe8a1b24
Item views (#7)
* Add Earmark dependency

For markdown to HTML conversion

* Display items by slug: articles, pages

* Handle 401 Forbidden responses in Directus

* Add item controller as pokemon route

* Strip out generated layouts

* Plan future routes

* Look for item in order: article, link, event, album

* Add item templates
2024-09-06 22:41:12 +02:00

15 lines
446 B
Text

<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content={get_csrf_token()}>
<.live_title suffix=" · Phoenix Framework">
<%= assigns[:page_title] || "Mse25" %>
</.live_title>
<link rel="stylesheet" href={~p"/assets/app.css"}>
</head>
<body class="bg-white">
<%= @inner_content %>
</body>
</html>