appscms-tools-theme 2.4.2 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c8ea6b3e1d9bdd1f48a35e95280989c71403122a05a5f6b7acdfc6baf34e430
4
- data.tar.gz: 4874375d5eb9fa95b0655f1caf27a12663b2030c98d3e7a70a8097ab034b477d
3
+ metadata.gz: c929059d942f2cb213810c212437a0101a1b475dac8212163ed6b9ef13f7c364
4
+ data.tar.gz: 96a0a863ae628fa5dd88d3f1d00715f45e70a59e076e4b9e2f320754c54a74cb
5
5
  SHA512:
6
- metadata.gz: '01478fc6ecc86f619fcb784cb45c6e266f21a7aa8327ab5b916dd21001c9ab98c9d47c77fc74fb604b5d8800d12a3e6b4ab7a7cda9ec7e3689cd4e489719714e'
7
- data.tar.gz: 9946b8afd07f72b63a5a03e426c9020012069f7e3bd8c366b14e405e68483d92fa3aadc08fa85af1ddc1b58a9face3272ebf20230106cfee07b66cbfac4ff6d1
6
+ metadata.gz: 2ceffb47a97035979e8ee8fcda0082a006911f0cd38f80577965dbe2eec1be27b7f235be77ca15b583db4d1f5337f8394685e9a8d133f1cf24d5a51da51943d0
7
+ data.tar.gz: b2b1faa8a2c86b79ca4f692ef29dc37a7a9f6bff7dfb41c18fc5e8f9bf122710b78e9f96bbfa8ab284d083b11c39c41789c37302805b1951b08b604109f3cdc0
@@ -63,6 +63,27 @@ layout: feature
63
63
  </div>
64
64
  </div>
65
65
  </div>
66
+ {%- if page.typeOfPage == "category" -%}
67
+ {%- assign photoEffectsData = site.data.photo-categories -%}
68
+ {%- for item in photoEffectsData -%}
69
+ {%- if item.category | downcase == page.category | downcase -%}
70
+ {%- for i in item.features -%}
71
+ <div class="col-md-3 px-0">
72
+ <a class="photo-card" href="{{i.link}}">
73
+ <div>
74
+ <img src="{{i.image}}" alt="">
75
+ <div class="photo-effect-feature-name">
76
+ {{i.name}}
77
+ </div>
78
+ </div>
79
+ </a>
80
+ </div>
81
+ {%- endfor -%}
82
+ {%- endif -%}
83
+
84
+ {%- endfor -%}
85
+ {%- else -%}
86
+ {%- assign photoEffectsData = site.data.photoeffects -%}
66
87
  {%- for item in photoEffectsData -%}
67
88
  <div class="col-md-3 px-0">
68
89
  <a class="photo-card" href="{{item.url}}">
@@ -76,6 +97,8 @@ layout: feature
76
97
 
77
98
  </div>
78
99
  {%- endfor -%}
100
+ {%- endif -%}
101
+
79
102
  </div>
80
103
  </div>
81
104
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-17 00:00:00.000000000 Z
11
+ date: 2022-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll