Use the 'modules' category instead of blog.

This commit is contained in:
2021-04-17 01:09:44 -07:00
parent 94c285a2f1
commit b2a763556d
9 changed files with 57 additions and 73 deletions

View File

@@ -1,9 +1,9 @@
{{ define "main" }}
{{ .Content }}
Recent posts:
Available modules:
<ul class="post-list">
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "modules") ".Kind" "!=" "section") }}
{{ partial "post.html" . }}
{{ end }}
</ul>