wip on making it proper

master
Ingolf Wagner 2021-07-19 21:11:32 +02:00
parent 4260f0770b
commit 873d8264d9
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
2 changed files with 8 additions and 4 deletions

View File

@ -2,6 +2,10 @@ baseURL: "http://tech.ingolf-wagner.de"
languageCode: "en-us"
title: "Techblog - Ingolf Wagner"
params:
mainSections:
- nixos
menu:
main:
- name: "main"

View File

@ -4,12 +4,12 @@
{{ .Content }}
<ul class="pages-list">
{{ range .Pages }}
<li class="page-list-item">
<a href="{{.URL}}">
{{ range (where site.RegularPages "Type" "in" site.Params.mainSections).ByDate.Reverse }}
<li class="page-list-item">
<a href="{{.URL}}">
<h3> {{ .Title }} </h3>
<p>
{{ .Param "summary" }}
{{ .Param "summary" }}
</p>
</a>
</li>