Skip to content

Commit

Permalink
fix(config): add defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
strogonoff authored Jun 7, 2024
1 parent ba957ec commit 2e80c48
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e80c48

Please sign in to comment.