jekyll-theme-artsy 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/shop.html +47 -0
  3. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f47491be09ae1e00ed191eb4387e2b27d09be8a8
4
- data.tar.gz: 511ab9d8691bbadf44ae32d50ac71f9ceef09232
3
+ metadata.gz: 4af75a633cebb3d26f92fa85c7bda166011ee8e6
4
+ data.tar.gz: 067ed092095a850e6c84380c3dbcf096191b87eb
5
5
  SHA512:
6
- metadata.gz: eb2a67f6deac7a1d0f84f9c8af2c25bf60961c60f43430275a0f9312be25eeac27047ae3272ca72f6d01e9b156efc00d645c5a015b914914f524bf65566f3dda
7
- data.tar.gz: 6d018d77846cc2167e7813097f5255e6e1b5d09c2eeda20aa8cd605d5ce6a63439918333b3ef86a1479a1bdf00c02b358ff5a9dd4940af5f69cff9c426a9e93f
6
+ metadata.gz: 718e99e90a062f4d03762c5b0b1bce1111d305301725219f6b96237ea326de7400c299aae61bfc926074ab2a960ab05dbe21fc365a84395c5b40126c5cea6d2a
7
+ data.tar.gz: d664915e35227b9919f698293aa1916384d412a9b2a6bd72ed0012000021d4768012b2b9d714a87009160d9825e9f998c765aaac820ea4c4539088897245a356
@@ -0,0 +1,47 @@
1
+ ---
2
+ title: Shop
3
+ layout: page
4
+ description: Purchase artwork directly from the artist!
5
+ category: services
6
+ active: shop
7
+ header-img: media/servicesbanner.jpg
8
+ ---
9
+
10
+ {% for image in site.static_files %}
11
+ {% assign price = false %}
12
+ {% assign title = "" %}
13
+ {% assign url = "#" %}
14
+ {% if image.path contains 'art/' or image.path contains 'media/' %}
15
+ {% unless image.path contains 'thumbs' %}
16
+ {% assign rendered = image.relative_path %}
17
+ {% capture imagepath %}{{ image.path | replace_first: '/', '' }}{% endcapture %}
18
+ {% for post in site.art %}
19
+ {% if image.path contains post.image %}
20
+ {% if post.price %}{% assign price = post.price %}{% endif %}
21
+ {% assign title = post.title %}
22
+ {% assign url = post.url %}
23
+ {% endif %}
24
+ {% endfor %}
25
+ {% if price != false %}
26
+ {% if rendered != image.path %}
27
+ {% capture thumbsrc %}{% thumbnail imagepath 800x800 %}{% endcapture %}
28
+ {% capture fullsrc %}{% thumbnail imagepath 1900x1900 %}{% endcapture %}
29
+
30
+
31
+ <div class="shop item">
32
+ <a href="{{ url }}"><img src="/{{ thumbsrc | replace: "<img src='", "" | replace: "' />", "" }}" /></a>
33
+ <b><a href="{{ url }}">{{ title }}</a></b>
34
+ <i><a href="{{ url }}">${{ price }}</a></i>
35
+ </div>
36
+
37
+ {% endif %}
38
+
39
+ {% endif %}
40
+ {% endunless %}
41
+ {% endif %}
42
+ {% endfor %}
43
+
44
+
45
+ <div id="header-booknow">
46
+ {% include paypal/booknow.html %}
47
+ </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-artsy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Hatcher
@@ -287,6 +287,7 @@ files:
287
287
  - assets/newsletter/js/ZeroClipboard.min.js
288
288
  - assets/newsletter/js/archivebar-desktop-plugins.js
289
289
  - assets/newsletter/js/fancyzoom.mc.js
290
+ - shop.html
290
291
  homepage: https://github.com/superterran/jekyll-theme-artsy
291
292
  licenses:
292
293
  - MIT