Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.87 KB

index.md

File metadata and controls

46 lines (35 loc) · 1.87 KB

{{ site.description }}

IIIF Images:

<script src="{{ '/plugins/js/image.js' | absolute_url }}" ></script> <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> <script src="plugins/justified/jquery.justifiedGallery.min.js"></script> <script> {% assign files = site.static_files | where_exp: "image", "image.path contains '/images/'" |where_exp: "image", "image.path contains '/info.json'" %} {% for img_file in files %} addToGallery('gallery', '{{img_file.path | absolute_url}}', 300,300); {% endfor %} </script> <script> $("#gallery").justifiedGallery({ rowHeight: 300 }); </script>

Manifests:

{% assign manifests = site.static_files | where_exp: "manifest", "manifest.path contains '/manifests/'" |where_exp: "manifest", "manifest.extname == '.json'" | where_exp: "manifest", "manifest.path != '/manifests/collection.json' " %}

{% for file in manifests %}

Annotations

{% assign annotations = site.static_files | where_exp: "annotation", "annotation.path contains '/annotations/'" |where_exp: "annotation", "annotation.extname == '.json'" | where_exp: "annotation", "annotation.path != '/annotations/collection.json'" %}

{% for file in annotations %}

  • [{{ file.path | replace: "/annotations/", ""}}]({{ file.path | absolute_url }})
    • [View in Annona](plugins/annona/?iiif-content={{ file.path | absolute_url }}) {% endfor %}