1
0
Fork 0

run prettier

This commit is contained in:
nanxiaobei 2023-05-28 14:18:01 +08:00
parent 15aebcd861
commit df58b6bcde
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{{ define "main" }}
<h1
class="absolute inset-x-8 top-0 bottom-20 flex items-center justify-center text-9xl"
class="absolute inset-x-8 bottom-20 top-0 flex items-center justify-center text-9xl"
>
404
</h1>

View File

@ -41,7 +41,7 @@
{{ partial "header.html" . }}
<main
class="prose prose-neutral relative mx-auto min-h-[calc(100%-10rem)] max-w-3xl px-8 pt-16 pb-24 dark:prose-invert"
class="prose prose-neutral relative mx-auto min-h-[calc(100%-10rem)] max-w-3xl px-8 pb-24 pt-16 dark:prose-invert"
>
{{ block "main" . }}{{ end }}
</main>

View File

@ -26,7 +26,7 @@
<footer class="mt-12 flex flex-wrap">
{{ range .Params.tags }} {{ $href := print (absURL "tags/") (urlize .) }}
<a
class="mr-1.5 mb-1.5 rounded-lg bg-black/[3%] px-5 py-2 no-underline dark:bg-white/[8%]"
class="mb-1.5 mr-1.5 rounded-lg bg-black/[3%] px-5 py-2 no-underline dark:bg-white/[8%]"
href="{{ $href }}"
>{{ . }}</a
>