Add gallery
@@ -0,0 +1,29 @@
|
|||||||
|
<section class="postlist">
|
||||||
|
<div class="postlist-item-container">
|
||||||
|
{% for gallery in galleries | reverse %}
|
||||||
|
{% if not numberOfGalleriesToShow or loop.index <= numberOfGalleriesToShow %}
|
||||||
|
<article class="postlist-item">
|
||||||
|
<a href="../gallery/{{ gallery.title | slugify }}" class="postlist-link">
|
||||||
|
<div class="post-image-container">
|
||||||
|
<img class="post-image" {% if gallery.galleryImage %} src="{{ gallery.url }}{{ gallery.galleryImage }}" alt="{{ gallery.galleryImageAlt }}" {% else %} src="{{ metadata.defaultPostImageURL }}" alt="{{ metadata.defaultPostImageAlt }}"{% endif %}>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<div class="post-copy">
|
||||||
|
<a href="../gallery/{{ gallery.title | slugify }}" class="postlist-link">
|
||||||
|
<h3>
|
||||||
|
{{ gallery.title }}
|
||||||
|
</h3>
|
||||||
|
</a>
|
||||||
|
{% if not hideGalleryDescriptions %}<p>{{ gallery.synopsis | truncate(105) | safe }}</p>{% endif %}
|
||||||
|
<div class="post-metadata">
|
||||||
|
<div class="post-metadata-copy">
|
||||||
|
<p>Posted on the <time class="postlist-date" datetime="{{ gallery.date | htmlDateString}}">{{ gallery.date | niceDate("LLLL yyyy") }}</time></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
<hr>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 109 KiB |
|
After Width: | Height: | Size: 282 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 145 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 234 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 194 KiB |