Skip to content

Commit

Permalink
Delete unnecessary configuration
Browse files Browse the repository at this point in the history
- Layouts and permalinks (incl. extensions) are set in Jekyll-Geolexica
  classes, thus don't need to be specified explicitly.
- Concept collections are created automatically since Jekyll-Geolexica
  version 1.4, thus don't need to be defined explicitly.
- Pages collection configuration is preserved, see
  geolexica/geolexica-server#125.
  • Loading branch information
skalee committed Jul 21, 2020
1 parent 484b930 commit bfe8112
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,60 +91,8 @@ collections:
domains:
output: true
permalink: /:collection/:name/
concepts:
output: true
permalink: /:collection/:name/
concepts_json:
output: true
output_ext: .json
permalink: /api/concepts/:name.json
concepts_jsonld:
output: true
output_ext: .jsonld
permalink: /api/concepts/:name.jsonld
concepts_ttl:
output: true
output_ext: .ttl
permalink: /api/concepts/:name.ttl
concepts_tbx:
output: true
output_ext: .tbx
permalink: /api/concepts/:name.tbx.xml
concepts_yaml:
output: true
output_ext: .yaml
permalink: /api/concepts/:name.yaml

defaults:
- scope:
path: ""
type: "concepts"
values:
layout: concept
- scope:
path: ""
type: "concepts_json"
values:
layout: concept.json
permalink: /api/concepts/:name.json
- scope:
path: ""
type: "concepts_jsonld"
values:
layout: concept.jsonld
permalink: /api/concepts/:name.jsonld
- scope:
path: ""
type: "concepts_ttl"
values:
layout: concept.ttl
permalink: /api/concepts/:name.ttl
- scope:
path: ""
type: "concepts_tbx"
values:
layout: concept.tbx
permalink: /api/concepts/:name.tbx.xml
- scope:
path: ""
type: "posts"
Expand Down

0 comments on commit bfe8112

Please sign in to comment.