Move galleries to collection, generate map and slideshow on build, stop using loopdir plugin, update templates accordingly
This commit is contained in:
@@ -5,12 +5,16 @@ layout: default
|
||||
<header>
|
||||
<div class="timeline">
|
||||
{% if page.date %}
|
||||
<time datetime="{{ page.date|date_to_xmlschema }}" title="{{ page.date|date_to_xmlschema }}"><strong>{{ page.date|date:"%b %d"|upcase }}</strong><br />{{ page.date|date:"%Y" }}</time>
|
||||
<time datetime="{{ page.date|date_to_xmlschema }}" title="{{ page.date|date_to_xmlschema }}"><strong>{{ page.date | date:"%b %d" | upcase }}</strong><br />{{ page.date | date:"%Y" }}</time>
|
||||
{% endif %}
|
||||
{% if page.location %}
|
||||
<a href="https://maps.google.com/maps?hl=en&ll={{ page.location.latitude }},{{ page.location.longitude }}&t=w&z=12"><img alt="map" height="49" src="https://maps.googleapis.com/maps/api/staticmap?center={{ page.location.latitude }},{{ page.location.longitude }}&zoom=9&size=98x98&sensor=false" title="{{ page.location.title }}" width="49" /></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<section class="post-content">
|
||||
<p>{{ content }}</p>
|
||||
<a href="/{{ site.baseurl }}/gallery/{{ page.gallery }}/">[ list ]</a>
|
||||
</section>
|
||||
<ul style="margin-top:0;">
|
||||
{% if page.previous %}
|
||||
<li><a href="/{{ site.baseurl }}/gallery/{{ page.gallery }}/{{ page.previous }}.html" rel="prev"> ← </a></li>
|
||||
@@ -52,21 +56,21 @@ layout: default
|
||||
<div style="float:left;width:352px;">
|
||||
<dl style="margin-top:0;">
|
||||
<dt>Date</dt>
|
||||
<dd itemprop="dateCreated" content="{{ page.date|date:'%FT%TZ' }}">{{ page.date|date:'%A, %B %d at %I:%M %p'|replace:' 0',' '|replace:' AM',' am'|replace:' PM',' pm' }}
|
||||
<dd itemprop="dateCreated" content="{{ page.date|date:'%FT%TZ' }}">{{ page.date | date:'%A, %B %d at %I:%M %p' | replace:' 0',' ' | replace:' AM',' am' | replace:' PM',' pm' }}
|
||||
|
||||
{% if page.exif.aperture %}
|
||||
{% if page.aperture %}
|
||||
<dt>Camera</dt>
|
||||
<dd>{{ page.exif.make }} {{ page.exif.model }}</dd>
|
||||
<dd>{{ page.make }} {{ page.model }}</dd>
|
||||
{% endif %}
|
||||
|
||||
{% if page.exif.aperture %}
|
||||
{% if page.aperture %}
|
||||
<dt>Aperture</dt>
|
||||
<dd>{{ page.exif.aperture }}</dd>
|
||||
<dd>{{ page.aperture }}</dd>
|
||||
{% endif %}
|
||||
|
||||
{% if page.exif.aperture %}
|
||||
{% if page.aperture %}
|
||||
<dt>Exposure</dt>
|
||||
<dd>{{ page.exif.exposure }}</dd>
|
||||
<dd>{{ page.exposure }}</dd>
|
||||
{% endif %}
|
||||
|
||||
{% if page.sizes %}
|
||||
@@ -116,9 +120,5 @@ layout: default
|
||||
|
||||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
<div class="meta-social screen-only">
|
||||
<a href="https://twitter.com/share" class="twitter-share-button" data-via="dpb587">Tweet</a>
|
||||
<div class="g-plusone" data-size="medium" data-width="300"></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user