Skip to content

Commit 1840d82

Browse files
committed
add v4 magic and links.
1 parent c24d847 commit 1840d82

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

_includes/links.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[0001-4]: {{ site.cookbook_url | absolute_url }}/recipe/0001-mvm-image/#version-4 "Simplest Manifest - Image"
44
[0002]: {{ site.cookbook_url | absolute_url }}/recipe/0002-mvm-audio/ "Simplest Manifest - Audio"
55
[0003]: {{ site.cookbook_url | absolute_url }}/recipe/0003-mvm-video/ "Simplest Manifest - Video"
6+
[0003-4]: {{ site.cookbook_url | absolute_url }}/recipe/0003-mvm-video/#version-4 "Simplest Manifest - Video"
67
[0004]: {{ site.cookbook_url | absolute_url }}/recipe/0004-canvas-size/ "Image and Canvas with Differing Dimensions"
78
[0005]: {{ site.cookbook_url | absolute_url }}/recipe/0005-image-service/ "Support Deep Viewing with Basic Use of a IIIF Image Service"
89
[0006]: {{ site.cookbook_url | absolute_url }}/recipe/0006-text-language/ "Internationalization and Multi-language Values"

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ _The corresponding 2.1 test fixture(s) is given like this, where appropriate: ..
3737

3838
* [Simplest Manifest - Image][0001] - [version 4][0001-4]
3939
* [Simplest Manifest - Audio][0002]
40-
* [Simplest Manifest - Video][0003] (1) (use single video as content resource, w,h,d)
40+
* [Simplest Manifest - Video][0003] - [version 4][0003-4] (1) (use single video as content resource, w,h,d)
4141
* [Image and Canvas with Differing Dimensions][0004] (26)
4242
* [Support Deep Viewing with Basic Use of a IIIF Image Service][0005] (24,25)
4343
* [Internationalization and Multi-language Values][0006] (3,4,6)

recipe/0003-mvm-video/index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,21 @@ topic:
2121
- AV
2222
code:
2323
- iiif-prezi3
24+
top_tabs:
25+
- label: Version 3
26+
content: "{% capture my_include %}{%- include_relative recipe.md version='3' -%}{% endcapture %}{{ my_include | markdownify }}"
27+
- label: Version 4
28+
content: "{% capture my_include %}{%- include_relative v4/recipe.md version='4' -%}{% endcapture %}{{ my_include | markdownify }}"
2429
---
2530

31+
{{ theme.block-center-start }}
32+
33+
{% include blocks/tabs.html tabs=page.top_tabs %}
34+
35+
{{ theme.block-end }}
36+
<script>
37+
if (!window.location.hash) {
38+
let el = document.getElementById("version-3-heading");
39+
el.className += " is-active";
40+
}
41+
</script>

0 commit comments

Comments
 (0)