Init
This commit is contained in:
@ -5,9 +5,15 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ title ?? site:name }}</title>
|
||||
{{ vite src="resources/js/site.js|resources/css/site.css" }}
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
</head>
|
||||
<body class="bg-slate-100 dark:bg-gray-800 font-sans leading-normal text-slate-800 dark:text-gray-400">
|
||||
<nav class="bg-black text-xs uppercase text-green-500 text-center flex items-center justify-center space-x-4">
|
||||
{{ nav:collection:pages include_home="true" }}
|
||||
<a href="{{ url }}" class="p-2 block hover:text-yellow-200">{{ title }}</a>
|
||||
{{ /nav:collection:pages }}
|
||||
</nav>
|
||||
|
||||
<div class="mx-auto px-2 lg:min-h-screen flex flex-col items-center justify-center">
|
||||
{{ template_content }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user