Skip to content

Commit

Permalink
Update Geolexica-Site to 1.4 (#146)
Browse files Browse the repository at this point in the history
* Update Geolexica-Site to 1.4

* Delete unnecessary configuration

- 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 14, 2020
1 parent b9e9cb6 commit 15fdb2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source "https://rubygems.org"

gem "geolexica-site", "1.3.1"
gem "geolexica-site", "1.4.0"
38 changes: 0 additions & 38 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,46 +89,8 @@ collections:
pages:
output: true
permalink: /:path/
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

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: "posts"
Expand Down

0 comments on commit 15fdb2c

Please sign in to comment.