This commit is contained in:
bel
2021-11-28 22:04:01 -07:00
commit 5aa2cbb7d7
129 changed files with 3776 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{{ define "main" }}
<div class="index-content">
{{ .Content }}
</div>
<div class="articles h-feed">
<h1 class="post-title">{{ i18n .Title }}</h1>
{{ $pages := where .Pages "Type" "in" site.Params.mainSections }}
{{ range $pages }}
<div class="post-short-list h-entry">
<header class="post-header">
<h2 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}"><a class="u-url" href="{{ .RelPermalink }}">{{ trim .Title " " }}</a></h2>
{{ partial "post-language-switcher.html" . }}
</header>
{{ partial "post-info.html" . }}
</div>
{{ end }}
</div>
{{ end }}