Packages

Vox static site project generator. Provides a `mix vox.new` task to bootstrap a new Elixir application with Vox dependencies and a basic template to generate.

Current section

Files

Jump to
vox_new templates site _root.html.eex
Raw

templates/site/_root.html.eex

<!DOCTYPE html>
<html lang="en" style="scrollbar-gutter: stable;">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="https://cdn.tailwindcss.com"></script><%= if @project.esbuild do %>
<script src="/assets/app.js"></script><% end %>
<title><%%= assigns[:title] || "<%= @project.module_name %>" %></title>
</head>
<body class="bg-zinc-100 antialiased">
<header class="bg-slate-700 text-white">
<nav class="mx-auto flex max-w-7xl items-top justify-between py-6 px-8" aria-label="Global">
<a href="/" class="-m-1.5 p-1.5">
<span class="font-black">VOX</span>
<span class="hidden sm:inline">- The static site generator for Elixir lovers</span>
<span class="sm:hidden block">The static site generator for Elixir lovers</span>
</a>
<a href="https://github.com/geolessel/vox" class="text-sm font-semibold leading-6">GitHub</a>
</nav>
</header>
<main class="mx-auto p-8 max-w-7xl">
<%%= @inner_content %>
</main>
</body>
</html>