layout | title | permalink | navbar_active | order | tags | ||
---|---|---|---|---|---|---|---|
page |
Gallery |
/gallery/ |
Gallery |
10 |
|
-
{% for post in site.galleries %}
{% if post.categories contains "gallery" %}
-
{{ post.pub-date }}, {{ post.pub-year }}{% if post.galleria %}
<script src="//code.jquery.com/jquery.min.js"></script> <script> $.getJSON('/assets/galleria/{{ post.galleria }}', function(data) { var up = document.getElementById('{{ post.url }}'); up.innerHTML = '<img src="' + data[0]['image'] + '"widht="100" height="100" align="right" />'; }); </script> {% endif %} {{ post.description | strip_html | truncatewords:50 }} {% capture readmorelink %} {{ post.url | prepend: site.baseurl }} {% endcapture %} {% include readmore.html href_link= readmorelink %} </li> {% endif %} {% endfor %} </ul> </div>