Sha256: 18d266147a5e1a3bc6a243c5f41cb736e0bc84ab8fc479fccdbc893e558ff197

Contents?: true

Size: 1.42 KB

Versions: 2

Compression:

Stored size: 1.42 KB

Contents

---
layout: page
---

{% for image in site.static_files %}
{% assign price = false %}
{% assign title = "" %}
{% assign url = "#" %}
{% if image.path contains 'art/' or image.path contains 'media/' %}				
    {% unless image.path contains 'thumbs' %}
        {% assign rendered = image.relative_path %}
        {% capture imagepath %}{{ image.path | replace_first: '/', '' }}{% endcapture %}
        {% for post in site.art %}
            {% if image.path contains post.image %}	
                {% if post.price %}{% assign price = post.price %}{% endif %}
                {% assign title = post.title %}
                {% assign url = post.url %}
            {% endif %}
        {% endfor %} 
        {% if price != false %}
        {% if rendered != image.path %}	
            {% capture thumbsrc %}{% thumbnail imagepath 800x800 %}{% endcapture %}
            {% capture fullsrc %}{% thumbnail imagepath 1900x1900 %}{% endcapture %}		

          
            <div class="shop item">
                <a href="{{ url }}"><img src="/{{ thumbsrc | replace: "<img src='", "" |  replace: "' />", "" }}" /></a>
                <b><a href="{{ url }}">{{ title }}</a></b>
                <i><a href="{{ url }}">${{ price }}</a></i>
            </div>

            {% endif %}

        {% endif %}				
    {% endunless %}
{% endif %}
{% endfor %}


<div id="header-booknow">
    {% include paypal/booknow.html %}
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-artsy-0.1.12 _layouts/shop.html
jekyll-theme-artsy-0.1.11 _layouts/shop.html