summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-06-26 17:17:23 +0200
committerDanilo M. <danix@danix.xyz>2026-06-26 17:17:23 +0200
commit1cdafc24e5efe9a0042c53306ae80d9127126aa4 (patch)
treeeec4bf1d79d55c08020ed8d29e4fedae98473b4e
parent4e26aabccc2432b4670e874017f55261506d59bb (diff)
downloaddanixxyz-theme-1cdafc24e5efe9a0042c53306ae80d9127126aa4.tar.gz
danixxyz-theme-1cdafc24e5efe9a0042c53306ae80d9127126aa4.zip
feat: include slackware projects in search index
-rw-r--r--layouts/index.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/index.json b/layouts/index.json
index e17e31e..891641a 100644
--- a/layouts/index.json
+++ b/layouts/index.json
@@ -1,5 +1,6 @@
{{- $articles := where .Site.RegularPages "Section" "articles" -}}
-{{- $articles = $articles.ByDate.Reverse -}}
+{{- $projects := where .Site.RegularPages "Section" "slackware" -}}
+{{- $articles = ($articles | append $projects).ByDate.Reverse -}}
[
{{- range $index, $article := $articles -}}
{