Basic homepage.
This commit is contained in:
14
layouts/home.html
Normal file
14
layouts/home.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{{ define "main" }}
|
||||
<article class="h-full max-w-full flex flex-col items-center justify-center text-center">
|
||||
<header>
|
||||
{{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }}
|
||||
{{ partial "breadcrumbs.html" . }}
|
||||
{{ end }}
|
||||
</header>
|
||||
<section class="mt-6 prose dark:prose-invert">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
<footer class="pt-8">
|
||||
</footer>
|
||||
</article>
|
||||
{{ end }}
|
Reference in New Issue
Block a user