Expand gallery functionality to automatic generation of index, slideshow and map files
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
layout: "post"
|
||||
layout: default
|
||||
---
|
||||
<section itemscope itemtype="http://schema.org/ImageGallery">
|
||||
<header>
|
||||
@@ -11,4 +11,7 @@ layout: "post"
|
||||
<section class="post-content">
|
||||
{{ content }}
|
||||
</section>
|
||||
{% if false != page.comments %}
|
||||
{% include disqus.html %}
|
||||
{% endif %}
|
||||
</section>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
layout: "post"
|
||||
layout: post
|
||||
---
|
||||
{% capture gallery %}{{ page.url|replace:'/map.html',''|remove_first:'/' }}{% endcapture %}
|
||||
<div id="googlemap" style="height:400px;margin-top:8px;"></div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
layout: "post"
|
||||
layout: post
|
||||
---
|
||||
<section itemscope itemtype="http://schema.org/Photograph">
|
||||
<header>
|
||||
|
||||
@@ -62,7 +62,6 @@
|
||||
|
||||
<!-- Root element of PhotoSwipe. Must have class pswp. -->
|
||||
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
|
||||
<!-- Background of PhotoSwipe.
|
||||
It's a separate element, as animating opacity is faster than rgba(). -->
|
||||
<div class="pswp__bg"></div>
|
||||
@@ -81,19 +80,13 @@
|
||||
|
||||
<!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
|
||||
<div class="pswp__ui pswp__ui--hidden">
|
||||
|
||||
<div class="pswp__top-bar">
|
||||
|
||||
<!-- Controls are self-explanatory. Order can be changed. -->
|
||||
|
||||
<div class="pswp__counter"></div>
|
||||
|
||||
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
|
||||
|
||||
<button class="pswp__button pswp__button--share" title="Share"></button>
|
||||
|
||||
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
|
||||
|
||||
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
|
||||
|
||||
<!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
|
||||
@@ -120,11 +113,8 @@
|
||||
<div class="pswp__caption">
|
||||
<div class="pswp__caption__center"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -2,13 +2,10 @@
|
||||
layout: default
|
||||
---
|
||||
<article class="post">
|
||||
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ page.title }}</h1>
|
||||
</header>
|
||||
|
||||
<div class="post-content">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
{% if page.code %}
|
||||
<a href="{{ page.code }}"><img alt="code" height="49" src="{{ site.static_prefix }}/icon/code.png" width="49" /></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="social screen-only">
|
||||
|
||||
</div>
|
||||
<h1>
|
||||
<span itemprop="name">{{ page.title }}</span>
|
||||
|
||||
Reference in New Issue
Block a user