We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eeeed0 commit 7a6b77eCopy full SHA for 7a6b77e
_includes/manifest_links.html
@@ -1,7 +1,11 @@
1
{% if include.viewers %}
2
{% assign viewers = include.viewers | split: "," %}
3
{% else %}
4
+ {% if include.version == "4" %}
5
+{% assign viewers = page.v4-viewers %}
6
+ {%else %}
7
{% assign viewers = page.viewers %}
8
+ {% endif %}
9
{% endif %}
10
[JSON-LD]({{ include.manifest }}) {% for viewerTxt in viewers %}{% assign viewer = viewerTxt | strip %}| {% include viewer_link.html type=viewer manifest=include.manifest annotationurl=include.annotationurl %}{% endfor %}
11
0 commit comments