initiale Version (klassische Seitennavigation, keine Themes)
This commit is contained in:
16
_includes/album.html
Normal file
16
_includes/album.html
Normal file
@ -0,0 +1,16 @@
|
||||
<div id="{{include.albumname}}">
|
||||
|
||||
{%- for image in site.static_files -%}
|
||||
{%- if image.path contains 'img/albums' and image.path contains include.albumname -%}
|
||||
<a href="{{ image.path }}" data-sub-html="{% exiftag image_description, , {{ image.path }} %}" >
|
||||
<img src="/assets/img/thumbnails/{{ include.albumname }}/{{ image.name }}" />
|
||||
</a>
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
|
||||
</div>
|
||||
<script>
|
||||
lightGallery(document.getElementById('{{include.albumname}}'), {
|
||||
plugins: [lgZoom, lgThumbnail, lgHash, lgShare],
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user