Skip to content

Commit

Permalink
Trying links instead of images
Browse files Browse the repository at this point in the history
  • Loading branch information
glenrobson committed Aug 9, 2024
1 parent 1397899 commit 5a99655
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions recipe/matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Currently [Mirador 3](https://projectmirador.org/), the [Universal Viewer](https

## Viewer Matrix

The possible values for viewer support are YES, NO or Partial. Click on the recipe name to see links to supporting viewers' behaviour with the recipe manifest. This will allow you to see whether it achieves the required function in the way you expect.
The possible values for viewer support are YES - <img src="{{ site.cookbook_url | absolute_url }}/assets/images/icons/required.png"/>, NO - <img src="{{ site.cookbook_url | absolute_url }}/assets/images/icons/not_allowed.png"/> or Partial - ![Partial][PARTIAL]. Click on the recipe name to see links to supporting viewers' behaviour with the recipe manifest. This will allow you to see whether it achieves the required function in the way you expect.
{% for topic in page.topics %}
{% if topic.key %}
{% assign topic_key = topic.key %}
Expand Down Expand Up @@ -82,7 +82,7 @@ The possible values for viewer support are YES, NO or Partial. Click on the reci
{% if recipe.viewers contains viewer %}
<img src="{{ site.cookbook_url | absolute_url }}/assets/images/icons/required.png" alt="Yes" title="Yes" />
{% else %}
<img src="{{ site.cookbook_url | absolute_url }}/assets/images/icons/not_allowed.png" alt="No" title="No"/>
![No][NO]
{% endif %}
{% endif %}
</td>
Expand All @@ -91,3 +91,7 @@ The possible values for viewer support are YES, NO or Partial. Click on the reci
{% endfor %}
</table>
{% endfor %}

[YES]: {{ site.cookbook_url | absolute_url }}/assets/images/icons/required.png
[NO]: {{ site.cookbook_url | absolute_url }}/assets/images/icons/not_allowed.png
[PARTIAL]: {{ site.cookbook_url | absolute_url }}/assets/images/icons/recommended.png

0 comments on commit 5a99655

Please sign in to comment.