blog-static/themes/vanilla/layouts/favorites/single.html

11 lines
277 B
HTML
Raw Normal View History

2020-12-30 14:41:29 -08:00
{{ 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 }}