Alexander Avery
9 months ago
2 changed files with 24 additions and 20 deletions
@ -1,22 +1,27 @@ |
|||
{{ define "main" }} |
|||
|
|||
{{ partial "article-meta.html" . }} |
|||
<main> |
|||
{{ partial "article-meta.html" . }} |
|||
|
|||
{{ if .Params.toc }} |
|||
{{ .TableOfContents }} |
|||
{{ end }} |
|||
|
|||
{{ .Content }} |
|||
</main> |
|||
|
|||
{{ if gt (len .Data.Pages) 0 }} |
|||
|
|||
<section> |
|||
<h2>Devlogs:</h2> |
|||
</section> |
|||
|
|||
<section class="article-list"> |
|||
{{ range .Data.Pages }} |
|||
{{ partial "article-card.html" . }} |
|||
{{ end }} |
|||
</section> |
|||
|
|||
{{ end }} |
|||
|
|||
{{ if .Params.toc }} |
|||
{{ .TableOfContents }} |
|||
{{ end }} |
|||
<div class="content-wrapper"> |
|||
<main> |
|||
{{ .Content }} |
|||
{{ if gt (len .Data.Pages) 0 }} |
|||
<h2>Devlogs:</h2> |
|||
<section class="article-list"> |
|||
{{ range .Data.Pages }} |
|||
{{ partial "article-card.html" . }} |
|||
{{ end }} |
|||
</section> |
|||
{{ end }} |
|||
<a href="/"> >> Home</a> |
|||
</main> |
|||
</div> |
|||
{{ end }} |
|||
|
Loading…
Reference in new issue