Add link to gallery in included list

This commit is contained in:
2016-01-30 22:41:40 +00:00
parent 94a6950a61
commit 9c52683d99
4 changed files with 21 additions and 12 deletions

View File

@@ -10,12 +10,12 @@ layout: default
<section>
{% for gallery in page.galleries %}
{% if gallery.ignore == null %}
{% if gallery.highlight %}
{% assign highlight=gallery.highlight %}
{% else %}
{% assign photo=gallery.photos | first %}
{% assign highlight=photo.name %}
{% endif %}
{% if gallery.highlight %}
{% assign highlight=gallery.highlight %}
{% else %}
{% assign photo=gallery.photos | first %}
{% assign highlight=photo.name %}
{% endif %}
<div style="display: inline-block; height: 274px; margin: 8px 10px 0 0; text-align: center; width: 200px;">
<a href="/{{ site.baseurl }}/gallery/{{ gallery.gallery }}/" style="text-decoration:none;">
<img alt="{{ gallery.title }}" height="200" src="{{ site.asset_prefix }}/gallery/{{ gallery.gallery }}/{{ highlight }}~200x200.jpg" title="{{ gallery.title }}" width="200" style="border-radius:4px;" />

View File

@@ -17,7 +17,7 @@
<small class="print-only" itemprop="datePublished" content="{{ page.date|date:'%F') }}">{{ page.date|date:'%A, %B %d, %Y' }}</small>
</h1>
{% if page.end_date %}
<span class="date-range">&#x1f557; {{ page.date|date:"%d/%m/%Y" }} - {{ page.end_date|date:"%d/%m/%Y" }}</span>
<span class="date-range">&#x1f557; {{ page.date | date:"%d/%m/%Y" }} - {{ page.end_date | date:"%d/%m/%Y" }}</span>
{% endif %}
</header>
<section class="post-content" itemprop="articleBody">