wip main list

master
Ingolf Wagner 2021-09-06 09:58:19 +02:00
parent 8cbf685ef0
commit 154528cb05
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
4 changed files with 22 additions and 1 deletions

View File

@ -5,6 +5,11 @@ pygmentsUseClasses: true
sectionPagesMenu: "main" sectionPagesMenu: "main"
params: params:
showAllPages: false
featured:
- /nixos/krops/
- /art/graffiti-wallpapers/
- /nixos/nix-instantiate/
mainSections: mainSections:
- nixos - nixos

View File

@ -10,3 +10,5 @@ because it is the Operation System of my choice.
If you are interested in more output of me please visit If you are interested in more output of me please visit
["my other page"](https://ingolf-wagner.de). ["my other page"](https://ingolf-wagner.de).
## Featured

View File

@ -1,6 +1,11 @@
--- ---
title: "graffiti smartphone wallpapers" title: "graffiti smartphone wallpapers"
date: 2021-08-27 date: 2021-08-27
summary: |
I was visiting Berlin this summer,
and made a lot of photos.
Some of which happen to be quite nice
for smartphone wallpapers.
--- ---
I was visiting Berlin this summer, I was visiting Berlin this summer,

View File

@ -2,8 +2,17 @@
<div class="content"> <div class="content">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ .Content }} {{ .Content }}
{{ if site.Params.showAllPages }}
<p>List of all pages and relative</p>
<ul>
{{ range site.RegularPages }}
<li>{{ .RelPermalink }} </li>
{{ end }}
</ul>
{{ end }}
<div class="flexbox listings"> <div class="flexbox listings">
{{ range (where site.RegularPages "Type" "in" site.Params.mainSections).ByDate.Reverse }}
{{ range (where site.RegularPages "RelPermalink" "in" site.Params.featured).ByDate.Reverse }}
<a href="{{.RelPermalink}}" class="flexitem card" > <a href="{{.RelPermalink}}" class="flexitem card" >
<div class="card-header" style=""> <div class="card-header" style="">
{{ .Title }} {{ .Title }}