diff --git a/Gemfile b/Gemfile index ef835893c..edbf8caf4 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ gem 'jekyll', '~> 4.1.1' # for local development, clone theme + use path loader # gem 'iiifc-theme', path: 'iiifc-theme' -gem 'iiifc-theme', github: 'iiif/iiifc-theme', branch: 'main' +gem 'iiifc-theme', github: 'iiif/iiifc-theme', branch: 'ignore-font-awsome' # For open graph and Twitter Card elements gem 'jekyll-seo-tag' diff --git a/Gemfile.lock b/Gemfile.lock index bf1dc3143..6bb67cb30 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GIT remote: https://github.com/iiif/iiifc-theme.git - revision: afff3ef39910d7454c58abf2b9c9e6a50cc7cb4c - branch: main + revision: a1a48285ca5bbf81d6967cf31fdcdb571da3068b + branch: ignore-font-awsome specs: iiifc-theme (0.1.0) html-proofer @@ -18,7 +18,7 @@ GEM addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) colorator (1.1.0) - concurrent-ruby (1.3.3) + concurrent-ruby (1.3.4) diff-lcs (1.5.1) em-websocket (0.5.3) eventmachine (>= 0.12.9) @@ -84,7 +84,7 @@ GEM racc (~> 1.4) nokogumbo (2.0.5) nokogiri (~> 1.8, >= 1.8.4) - parallel (1.25.1) + parallel (1.26.3) pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (6.0.1) @@ -95,7 +95,7 @@ GEM rb-inotify (0.11.1) ffi (~> 1.0) redcarpet (3.6.0) - rexml (3.3.4) + rexml (3.3.6) strscan rouge (3.30.0) rspec (3.13.0) @@ -104,7 +104,7 @@ GEM rspec-mocks (~> 3.13.0) rspec-core (3.13.0) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-mocks (3.13.1) diff --git a/recipe/0001-mvm-image/index.md b/recipe/0001-mvm-image/index.md index 9ac30a3c5..8044d2bf2 100644 --- a/recipe/0001-mvm-image/index.md +++ b/recipe/0001-mvm-image/index.md @@ -11,6 +11,7 @@ viewers: - Clover - Glycerine Viewer - Theseus + - Curation topic: - basic - image diff --git a/recipe/0004-canvas-size/index.md b/recipe/0004-canvas-size/index.md index 77a1a38b9..d4ecea891 100644 --- a/recipe/0004-canvas-size/index.md +++ b/recipe/0004-canvas-size/index.md @@ -9,6 +9,7 @@ viewers: - Mirador - Annona - Theseus + - Curation topic: image code: - iiif-prezi3 @@ -39,7 +40,7 @@ The aspect ratio should be consistent between your source image and Canvas. Othe This example shows a Manifest with a single Canvas that has height and width dimensions three times the pixel dimensions of the image in order to construct a Canvas with both dimensions greater than 1000px. -{% include manifest_links.html viewers="UV, Mirador, Annona, Theseus" manifest="manifest.json" %} +{% include manifest_links.html viewers="UV, Mirador, Annona, Theseus, Curation" manifest="manifest.json" %} {% include jsonviewer.html src="manifest.json" config="data-line='14-15,29-30'"%} # Related recipes diff --git a/recipe/0005-image-service/index.md b/recipe/0005-image-service/index.md index 18652404e..79d301401 100644 --- a/recipe/0005-image-service/index.md +++ b/recipe/0005-image-service/index.md @@ -10,6 +10,7 @@ viewers: - Clover - Glycerine Viewer - Theseus + - Curation topic: - basic - image @@ -37,7 +38,7 @@ Though a version 3 Manifest may specify a service using the version 2 `@id` and ## Example -{% include manifest_links.html viewers="Mirador, Annona, Clover, Glycerine Viewer, Theseus" manifest="manifest.json" %} +{% include manifest_links.html viewers="Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %} {% include jsonviewer.html src="manifest.json" config='data-line="36-42"' %} diff --git a/recipe/0006-text-language/index.md b/recipe/0006-text-language/index.md index 6f5f27531..24ca762fe 100644 --- a/recipe/0006-text-language/index.md +++ b/recipe/0006-text-language/index.md @@ -10,6 +10,7 @@ viewers: - Annona - Glycerine Viewer - Theseus + - Curation topic: basic property: label, summary, metadata, requiredStatement code: @@ -38,11 +39,15 @@ In the `metadata` and `requiredStatement` properties, the `label` strings for "C Finally, the `summary` property (lines 49-54) has values in both English and French. -To see the language choice in the linked viewers, open the settings menu (gear icon) and choose either English or French. +With the Universal Viewer, Mirador, and Glycerine you can open the settings menu (gear icon) and choose either English or French. + +For the Curation viewer you need to add a `lang=fr` parameter to access the French properties. You can see the French values on the [IIIF Curation Viewer](http://codh.rois.ac.jp/software/iiif-curation-viewer/demo/?manifest=https://iiif.io/api/cookbook/recipe/0006-text-language/manifest.json&lang=fr) demo site. + +Note not all viewers support all languages and users should check the viewers with their manifests to see if they need to configure the viewer to make the extra languages available. The image in this example was sourced via Wikimedia Commons and is public domain. -{% include manifest_links.html viewers="UV, Mirador, Annona, Glycerine Viewer, Theseus" manifest="manifest.json" %} +{% include manifest_links.html viewers="UV, Mirador, Annona, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %} {% include jsonviewer.html src="manifest.json" config='data-line="6-11, 16-21, 24-26, 31-36, 39-44, 49-54, 58-63, 66-68"' %} diff --git a/recipe/0007-string-formats/index.md b/recipe/0007-string-formats/index.md index 72fc67c7a..113d2cd11 100644 --- a/recipe/0007-string-formats/index.md +++ b/recipe/0007-string-formats/index.md @@ -11,6 +11,7 @@ viewers: - Clover - Glycerine Viewer - Theseus + - Curation topic: property property: label, summary, metadata, requiredStatement code: @@ -33,7 +34,7 @@ For security reasons, clients are expected to allow only `a`, `b`, `br`, `i`, `i ## Example -{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus" manifest="manifest.json" %} +{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %} {% include jsonviewer.html src="manifest.json" config='data-line="7,12,24,38"' %} diff --git a/recipe/0008-rights/index.md b/recipe/0008-rights/index.md index 7ff438e0f..e6a890cbd 100644 --- a/recipe/0008-rights/index.md +++ b/recipe/0008-rights/index.md @@ -11,6 +11,7 @@ viewers: - Clover - Glycerine Viewer - Theseus + - Curation topic: property property: rights, requiredStatement code: @@ -41,7 +42,7 @@ None known. ## Example -{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus" manifest="manifest.json" %} +{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %} {% include jsonviewer.html src="manifest.json" config='data-line="15-27"' %} diff --git a/recipe/0009-book-1/index.md b/recipe/0009-book-1/index.md index 1be820589..38c9ff3ad 100644 --- a/recipe/0009-book-1/index.md +++ b/recipe/0009-book-1/index.md @@ -11,6 +11,7 @@ viewers: - Clover - Glycerine Viewer - Theseus + - Curation topic: - image - basic @@ -38,7 +39,7 @@ You should also consider providing a [thumbnail][prezi3-thumbnail] for each Canv ## Example -{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus" manifest="manifest.json" %} +{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %} {% include jsonviewer.html src="manifest.json" %} diff --git a/recipe/0010-book-2-viewing-direction/index.md b/recipe/0010-book-2-viewing-direction/index.md index fb728035d..c9718246c 100644 --- a/recipe/0010-book-2-viewing-direction/index.md +++ b/recipe/0010-book-2-viewing-direction/index.md @@ -8,7 +8,10 @@ viewers: - UV - Mirador - Annona - - Theseus + - id: Theseus + support: partial + - id: Curation + support: partial topic: - image - property @@ -41,7 +44,7 @@ None known This Manifest shows the playbill for "Akiba gongen kaisen-banashi," "Futatsu chōchō kuruwa nikki", and "Godairiki koi no fūjime", kabuki performances at the Chikugo Theater in Osaka, from the fifth month of Kaei 2 (May, 1849). -{% include manifest_links.html viewers="UV, Mirador, Annona, Theseus" manifest="manifest-rtl.json" %} +{% include manifest_links.html viewers="UV, Mirador, Annona, Theseus, Curation" manifest="manifest-rtl.json" %} {% include jsonviewer.html src="manifest-rtl.json" config='data-line="15"' %} diff --git a/recipe/0029-metadata-anywhere/index.md b/recipe/0029-metadata-anywhere/index.md index 901f1cb0c..bf4606103 100644 --- a/recipe/0029-metadata-anywhere/index.md +++ b/recipe/0029-metadata-anywhere/index.md @@ -12,6 +12,7 @@ viewers: support: partial - Glycerine Viewer - Theseus + - Curation topic: property property: metadata --- @@ -38,7 +39,7 @@ Note: Clover supports Metadata at the Manifest level but not down at the Canvas. Credit: *John Dee performing an experiment before Queen Elizabeth I*. Oil painting by Henry Gillard Glindoni. Credit: Wellcome Collection. Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) -{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus" manifest="manifest.json" %} +{% include manifest_links.html viewers="UV, Mirador, Annona, Clover, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %} {% include jsonviewer.html src="manifest.json" config='data-line="10-59, 83-96, 136-149"' %} diff --git a/recipe/0118-multivalue/index.md b/recipe/0118-multivalue/index.md index 42024d447..849ab689b 100644 --- a/recipe/0118-multivalue/index.md +++ b/recipe/0118-multivalue/index.md @@ -10,6 +10,7 @@ viewers: - Annona - Glycerine Viewer - Theseus + - Curation topic: property property: label, summary, metadata, requiredStatement --- @@ -32,7 +33,7 @@ None In this example, the work has multiple titles in both English and French. The Manifest `label` provides a single title in French within a single-value array (lines 6–8). The alternative titles are provided in the `metadata` property in both English and French, each with variants contained within two separate arrays -- one array for English (lines 18–21) and one for French (lines 22–25). In the `summary` property (lines 30–32) the value is included as a single-string array. -{% include manifest_links.html viewers="UV, Mirador, Annona, Glycerine Viewer, Theseus" manifest="manifest.json" %} +{% include manifest_links.html viewers="UV, Mirador, Annona, Glycerine Viewer, Theseus, Curation" manifest="manifest.json" %} {% include jsonviewer.html src="manifest.json" config='data-line="6-8, 18-21, 22-25, 30-32"'%} diff --git a/recipe/0283-missing-image/index.md b/recipe/0283-missing-image/index.md index 6f36a1a88..7c55eae52 100644 --- a/recipe/0283-missing-image/index.md +++ b/recipe/0283-missing-image/index.md @@ -9,6 +9,7 @@ viewers: - Mirador - Glycerine Viewer - Theseus + - Curation topic: - image - basic diff --git a/recipe/matrix.md b/recipe/matrix.md index f12808cbd..4a70d9fde 100644 --- a/recipe/matrix.md +++ b/recipe/matrix.md @@ -14,6 +14,7 @@ viewers: - Aviary - Glycerine Viewer - Theseus + - Curation topics: - basic - property