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