From f24b0f3e2164198b6ca3b807ec00014cc6ed3750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ska=C5=82acki?= Date: Tue, 21 Jul 2020 10:44:04 +0200 Subject: [PATCH] Update Geolexica-Site to 1.4 (#56) * 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. --- Gemfile | 2 +- _config.yml | 52 ---------------------------------------------------- 2 files changed, 1 insertion(+), 53 deletions(-) diff --git a/Gemfile b/Gemfile index 339f7c4..ee05efe 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source "https://rubygems.org" -gem "geolexica-site", "1.3.0" +gem "geolexica-site", "1.4.0" gem "jekyll-asciimath", "~> 1.1.0" diff --git a/_config.yml b/_config.yml index ed980e3..2c96378 100644 --- a/_config.yml +++ b/_config.yml @@ -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"