From f0ecc41241bd3466c5af145ef67e7046e333395b Mon Sep 17 00:00:00 2001 From: Darshan Baral Date: Sun, 3 Mar 2019 10:14:03 -0800 Subject: Set up to filter by type instead of section --- layouts/_default/section.html | 2 +- layouts/partials/intro.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 31d49a0..d33004e 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -10,7 +10,7 @@
- {{ range where $taxonomy.Pages.ByDate "Section" $sectionName }} + {{ range where $taxonomy.Pages.ByDate "Type" $sectionName }}

{{ .Title }} diff --git a/layouts/partials/intro.html b/layouts/partials/intro.html index c7ad259..6104e3b 100644 --- a/layouts/partials/intro.html +++ b/layouts/partials/intro.html @@ -22,7 +22,7 @@ >See All

- {{ range where .Pages "Section" "posts" | first 4}} + {{ range where .Pages "Type" "posts" | first 4}} {{ .Title }} -- cgit v1.2.3