Extract website theme into its own repository

This commit is contained in:
2021-04-15 01:37:18 -07:00
commit 94c285a2f1
42 changed files with 1004 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{{ define "main" }}
<h2>{{ .Title }} </h2>
{{ .Content }}
<ul class="post-list">
{{ range (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
{{ if .Params.favorite }}{{ partial "post.html" . }}{{ end }}
{{ end }}
</ul>
{{ end }}