Première version

This commit is contained in:
Simon C
2023-06-15 12:17:18 +02:00
parent 5eaaf44dd7
commit 0c7ab742ea
53 changed files with 99532 additions and 1 deletions

View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="fr" class="h-full">
<head>
{{ partial "head.html" . }}
</head>
<body class="h-full">
<div class="container mx-auto">
<div class="bg-white">
{{ partial "header.html" . }}
</div>
{{ block "main" . }}{{ end }}
</div>
{{ partial "footer.html" . }}
{{ partial "scripts.html" . }}
</body>
</html>

View File

@ -0,0 +1,8 @@
{{ define "main" }}
{{ .Content }}
<ul>
{{ range .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}

View File

@ -0,0 +1,9 @@
{{ define "main" }}
<div class="relative w-full bg-white my-20 px-6 py-12 shadow-xl shadow-slate-700/10 ring-1 ring-gray-900/5 md:mx-auto md:max-w-3xl lg:max-w-4xl lg:py-16">
<div class="mx-auto max-w-prose lg:text-lg">
<article class="prose prose-slate mx-auto lg:prose-xl">
{{ .Content }}
</article>
</div>
</div>
{{ end }}