🎨 Code cleanup
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en{{ end }}">
|
||||
{{- partial "head.html" . -}}
|
||||
<body
|
||||
class="flex flex-col h-screen px-6 m-auto text-lg leading-7 bg-neutral max-w-7xl text-neutral-900 dark:bg-neutral-800 dark:text-white sm:px-14 md:px-24 lg:px-32"
|
||||
class="bg-neutral m-auto flex h-screen max-w-7xl flex-col px-6 text-lg leading-7 text-neutral-900 sm:px-14 md:px-24 lg:px-32 dark:bg-neutral-800 dark:text-white"
|
||||
>
|
||||
<main class="flex-grow">{{- block "main" . }}{{- end }}</main>
|
||||
{{- partial "footer.html" . -}}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{{ define "main" }}
|
||||
<article class="flex flex-col items-center justify-center mt-10">
|
||||
<article class="mt-10 flex flex-col items-center justify-center">
|
||||
<nav class="place-self-start">
|
||||
<a href="{{ "" | relURL }}" class="text-neutral-500">← {{ i18n "nav.home" }}</a>
|
||||
</nav>
|
||||
<header>
|
||||
<h1 class="mt-2 mb-6 text-4xl font-extrabold text-center text-neutral-800 dark:text-white">
|
||||
<h1 class="mb-6 mt-2 text-center text-4xl font-extrabold text-neutral-800 dark:text-white">
|
||||
{{ .Title | emojify }}
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user