From 2e80c48759fa757e0925e41f8c4f98537f70b083 Mon Sep 17 00:00:00 2001 From: Anton Strogonoff Date: Sat, 8 Jun 2024 05:17:26 +0800 Subject: [PATCH] fix(config): add `defaults` --- _config.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/_config.yml b/_config.yml index 7efe2b9..db22e80 100644 --- a/_config.yml +++ b/_config.yml @@ -38,6 +38,30 @@ collections: output: true permalink: /:path/ +defaults: + # Theme defaults. + # MUST be duplicated from theme's _config.yml + # (does not get inherited, unlike the collections hash) + - scope: + path: "" + values: + layout: default + - scope: + path: _posts + type: posts + values: + layout: post + - scope: + path: _software + type: software + values: + layout: product + - scope: + path: _specs + type: specs + values: + layout: spec + # These are required for the theme to work: theme: jekyll-theme-open-project