Moves taxonomy and term templates from the `_default` directory to the root `layouts` directory. This allows for more specific customization of these templates without requiring them to be placed within the `_default` folder.
14 lines
309 B
HTML
14 lines
309 B
HTML
{{ define "main" }}
|
|
<div class="wrapper list-page">
|
|
<header class="header">
|
|
<h1 class="header-title center">{{ .Title }}</h1>
|
|
</header>
|
|
<main class="page-content" aria-label="Content">
|
|
{{ .Content }}
|
|
{{ range .Pages }}
|
|
{{ partial "postCard" . }}
|
|
{{ end }}
|
|
</main>
|
|
</div>
|
|
{{ end }}
|