You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
486 B
26 lines
486 B
{{ define "main" }}
|
|
|
|
{{ $pages := .Site.RegularPages }}
|
|
|
|
{{if not .IsHome }}
|
|
|
|
<h1 class="center-text">{{ .Title | markdownify | lower }}</h1>
|
|
|
|
{{ $pages = .Pages }}
|
|
|
|
{{ end }}
|
|
|
|
{{ if templates.Exists "partials/pre-content.html" }}
|
|
{{ partial "pre-content.html" . }}
|
|
{{ end }}
|
|
|
|
<section>{{ .Content }}</section>
|
|
|
|
<section class="article-list">
|
|
{{ range $pages }}
|
|
{{ partial "article.html" . }}
|
|
{{ end }}
|
|
</section>
|
|
|
|
{{ end }}
|
|
|
|
|