diff --git a/config.yaml b/config.yaml index 10b509c..24ce0dc 100644 --- a/config.yaml +++ b/config.yaml @@ -5,6 +5,11 @@ pygmentsUseClasses: true sectionPagesMenu: "main" params: + showAllPages: false + featured: + - /nixos/krops/ + - /art/graffiti-wallpapers/ + - /nixos/nix-instantiate/ mainSections: - nixos diff --git a/content/_index.md b/content/_index.md index 724460e..2acba3e 100644 --- a/content/_index.md +++ b/content/_index.md @@ -10,3 +10,5 @@ because it is the Operation System of my choice. If you are interested in more output of me please visit ["my other page"](https://ingolf-wagner.de). + +## Featured diff --git a/content/art/graffiti-wallpapers/index.md b/content/art/graffiti-wallpapers/index.md index 70ce380..f07a259 100644 --- a/content/art/graffiti-wallpapers/index.md +++ b/content/art/graffiti-wallpapers/index.md @@ -1,6 +1,11 @@ --- title: "graffiti smartphone wallpapers" 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, diff --git a/layouts/list.html b/layouts/list.html index 39e48ce..a6a68e4 100644 --- a/layouts/list.html +++ b/layouts/list.html @@ -2,8 +2,17 @@

{{ .Title }}

{{ .Content }} + {{ if site.Params.showAllPages }} +

List of all pages and relative

+ + {{ end }}
- {{ range (where site.RegularPages "Type" "in" site.Params.mainSections).ByDate.Reverse }} + + {{ range (where site.RegularPages "RelPermalink" "in" site.Params.featured).ByDate.Reverse }}
{{ .Title }}