Overhaul of stylegen

This commit is contained in:
2025-03-23 03:23:45 -06:00
parent cff4c4715e
commit 2267706737
7 changed files with 224 additions and 51 deletions

View File

@ -9,19 +9,20 @@
<title>{{template "title" .}}</title>
<meta name="description" content="{{template "description" .}}">
<script defer src="https://analytics.atri.dad/script.js" data-website-id="0206740c-245f-402a-b433-125d6d48945a"></script>
<link href="/public/css/styles.css" rel="stylesheet" type="text/css" />
<link href="/public/css/daisyui.css" rel="stylesheet" type="text/css" />
<link href="/public/css/styles.css" rel="stylesheet" type="text/css" />
<link href="/public/css/themes.css" rel="stylesheet" type="text/css" />
<link href="/public/css/markdown.css" rel="stylesheet" type="text/css" />
{{template "head" .}}
</head>
<body class="block h-[100%]">
{{template "header" .}}
<main class="prose prose-invert mx-auto p-4">
<main class="mx-auto p-4 max-w-3xl">
<article>
<h1 class="title">{{.Name}}</h1>
<div class="flex flex-row flex-wrap gap-4">
<h1 class="mx-auto text-2xl sm:text-4xl font-bold tracking-tight text-center mb-4 max-w-[65ch]">{{.Name}}</h1>
<div class="flex flex-row flex-wrap justify-center gap-4 mb-6">
{{if .Date}}
<p>
<div class="flex flex-row flex-wrap items-center gap-1 text-md">
@ -74,9 +75,10 @@
Back
</a>
</div>
<hr />
{{template "main" .}}
<hr class="my-6 border-t border-white w-full max-w-2xl mx-auto" />
<div class="markdown text-left mx-auto max-w-2xl">
{{template "main" .}}
</div>
</article>
</main>
<script src="/public/js/htmx.base.js"></script>