Enhance layout and styling with new CSS classes, update homepage layout to custom, and add summaries and feature images to various articles for improved content presentation.
This commit is contained in:
19
layouts/home.html
Normal file
19
layouts/home.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ define "main" }}
|
||||
<article class="h-full max-w-full flex flex-col items-center justify-center">
|
||||
<header>
|
||||
{{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }}
|
||||
{{ partial "breadcrumbs.html" . }}
|
||||
{{ end }}
|
||||
</header>
|
||||
<section class="mt-6">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
<section>
|
||||
{{ partial "recent-articles/main.html" . }}
|
||||
</section>
|
||||
<footer class="pt-8">
|
||||
</footer>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
|
Reference in New Issue
Block a user