reconnect
This commit is contained in:
10
.github/_includes/item/image-gallery.html
vendored
Normal file
10
.github/_includes/item/image-gallery.html
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{% comment %}
|
||||
|
||||
For image items, a zoomable, full screen gallery view is added using Spotlight gallery.
|
||||
Ensure dependencies are added by including `gallery: true` in the layout front matter calling this include.
|
||||
|
||||
{%- endcomment -%}
|
||||
<a id="{{ page.objectid }}" class="spotlight gallery-img" {% if page.object_location %}data-download="true"{% endif %} title="{{ page.title | escape }}" href="{{ page.object_location | default: page.image_small | relative_url }}">
|
||||
<img src="{{ page.image_small | relative_url }}" alt="{{ page.image_alt_text | default: page.description | default: page.title | escape }}" class="img-fluid">
|
||||
<div><small class="text-dark">Click to view full screen</small></div>
|
||||
</a>
|
||||
Reference in New Issue
Block a user