appscms-tools-theme 0.4.9 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/home.html +19 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da1a8b16e6710df72432dae23e7055d593ff64e7364088ce32014b6765b37a73
4
- data.tar.gz: 819e60ae2cc32ce57538a1a1ef543b8b825f7289b28c1caf2d3e5c3accb4cd1a
3
+ metadata.gz: 18b5de6756c48853594d6c2f33f337e039707da2aad7448f425e7aed58833700
4
+ data.tar.gz: de328a55136601fdd166c24a9da546b4eab5dd389b1bbcb10dd3358924b85eb4
5
5
  SHA512:
6
- metadata.gz: 28280d595dae392be3bec9e43b2264b7363bdb86b058bd10c848ca065581f3dbf96f031b02ccc6754525d14a613cd34d205ac91c0bd5da6468177c3eb88b0ab4
7
- data.tar.gz: 54a64ba209570cad9d9a3395ce6bc0fb1b50ee0c0f69677555491f3c172a6e565366cfd44995452e9c105b8e996ba0a67c41baef6586e8bc1a9650c0580c61b8
6
+ metadata.gz: 9584923dad619dcb5da82bcbc7d99d1e5b1436a3872f637b28b2bdb9deae0afa4889f24e816659ef4e0390b6513db831b1c8e6fb88ba9aa7558dd9eac73db825
7
+ data.tar.gz: 865a383ff81b624012f1cc62c0727f525aa86e5396856572752bc788e80cfc481d73114a59ae771e82c827fbc78fb2f5bf6287ca404c62fca606c5617e56c278
data/_layouts/home.html CHANGED
@@ -8,13 +8,15 @@
8
8
  <body>
9
9
  {% include header/index.html %}
10
10
  {%- include dropdown/langdropdown.html -%}
11
+ {%- if homeData.h1 or homeData.h2 -%}
11
12
  <div class="flex-container">
12
13
  <div class="flex-class py-5">
13
14
  <h1 class="home-top-h1">{{homeData.h1}}</h1>
14
15
  <h2 class="home-top-h2">{{homeData.h2}}</h2>
15
16
  </div>
16
17
  </div>
17
-
18
+ {%- endif -%}
19
+ {%- if homeData.features -%}
18
20
  <div class="flex-container">
19
21
  <div class="flex-class">
20
22
  <ul class="home-features">
@@ -32,9 +34,25 @@
32
34
  </ul>
33
35
  </div>
34
36
  </div>
37
+ {%- endif -%}
35
38
  <div>
36
39
  {{content}}
37
40
  </div>
41
+ {%- if homeData.TEXTUAL_CONTENT -%}
42
+ <div class="container mt-4">
43
+ <div class="row px-0">
44
+ {% for data in homeData.TEXTUAL_CONTENT %}
45
+ <div class="col-lg-4 col-md-6 my-4">
46
+ <div><img class="feature-card-img" src="{{data.logoUrl}}"
47
+ alt={{data.header}}>
48
+ <div class="feature-card-title">{{data.header | replace: "$variable", page.value}}</div>
49
+ <div class="feature-card-desc">{{data.content | replace: "$variable", page.value}}</div>
50
+ </div>
51
+ </div>
52
+ {% endfor %}
53
+ </div>
54
+ </div>
55
+ {%- endif -%}
38
56
  {%- if homeData.HOW_TO_CONTENT -%}
39
57
  <div class="d-flex justify-content-center mt-5 mb-5" id="__cond-1011327">
40
58
  <div class="flex-container pb-5">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms