Extend gallery functionality, general cleanup
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{% include header.html %}
|
||||
---
|
||||
layout: "post"
|
||||
---
|
||||
<section itemscope itemtype="http://schema.org/ImageGallery">
|
||||
<header>
|
||||
<div class="timeline"></div>
|
||||
@@ -10,4 +12,3 @@
|
||||
{{ content }}
|
||||
</section>
|
||||
</section>
|
||||
{% include footer.html %}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{% include header.html %}
|
||||
---
|
||||
layout: "post"
|
||||
---
|
||||
<section itemscope itemtype="http://schema.org/Photograph">
|
||||
<header>
|
||||
<div class="timeline">
|
||||
@@ -8,28 +10,22 @@
|
||||
{% 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 %}
|
||||
{% if page.code %}
|
||||
<a href="{{ page.code }}"><img alt="code" height="49" src="/include/icons/code.png" width="49" /></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<ul style="margin-top:0;">
|
||||
{% if page.previous %}
|
||||
<li><a href="{{ page.previous }}.html" rel="prev"> ← </a></li>
|
||||
<li><a href="/{{ site.baseurl }}{{ page.previous }}.html" rel="prev"> ← </a></li>
|
||||
{% else %}
|
||||
<li><span class="noanchor"> ← </span></li>
|
||||
{% endif %}
|
||||
|
||||
{% if page.next %}
|
||||
<li><a href="{{ page.next }}.html" rel="next"> → </a></li>
|
||||
<li><a href="/{{ site.baseurl }}{{ page.next }}.html" rel="next"> → </a></li>
|
||||
{% else %}
|
||||
<li><span class="noanchor"> → </span></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
<h1>
|
||||
<span itemprop="name">{{ page.title }}</span>
|
||||
{% if page.date %}
|
||||
<small class="print-only">{{ page.date|date:'%A, %B %d, %Y' }}</small>
|
||||
{% endif %}
|
||||
</h1>
|
||||
</header>
|
||||
<section class="post-content">
|
||||
@@ -98,13 +94,13 @@
|
||||
<div class="meta-navigate screen-only">
|
||||
{% if page.next %}
|
||||
<div style="float:right;">
|
||||
<a href="{{ page.next }}.html" rel="next">Next Photo »</a>
|
||||
<a href="/{{ site.baseurl }}{{ page.next }}.html" rel="next">Next Photo »</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.previous %}
|
||||
<div style="float:left;">
|
||||
<a href="{{ page.previous }}.html" rel="prev">« Previous</a>
|
||||
<a href="/{{ site.baseurl }}{{ page.previous }}.html" rel="prev">« Previous</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -119,6 +115,4 @@
|
||||
<div class="g-plusone" data-size="medium" data-width="300"></div>
|
||||
</div>
|
||||
</div>
|
||||
{% include disqus.html %}
|
||||
</section>
|
||||
{% include footer.html %}
|
||||
|
||||
Reference in New Issue
Block a user