appscms-tools-theme 0.6.0 → 0.6.1

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: 71372c2985f13042c312f655a48be3afdf514be2b14406d85f334dbb4e21c9fb
4
- data.tar.gz: 4b1eb41c59ac5d9892e7e90bfc86155d8c709430fe9421d7450713effd63a52c
3
+ metadata.gz: c88ac8fd74d3c3d549dd68613cb8684627cf748b4e58de7c78d0ac1bafe1303a
4
+ data.tar.gz: dc3936cbabdc0b5130b4d6e9a57dba73e452c83dcd77ee4b1ad2781abe3c92ff
5
5
  SHA512:
6
- metadata.gz: b132e71cdb86fa28e5fb2345dd5489a45f1441e411218192349abfee103689980ce1a40996a2f5deac32326bf8b7733941c92b78c5f8f0f1f2f30d8250391129
7
- data.tar.gz: d86c25945125687dd6e01633a5ecdd107111391893abca09d82af94f63e90a966cc32e808a7fb89d09c38bfe8a8610f8976e5dc8d69918dcf4b104bc39dc5c87
6
+ metadata.gz: ca4fb2299b98835ee6f961d368507a9122993f13a21cd371310033ef4bb54eaa7489e48e81a0af9974ac7d8cf024708b40188bedbd1eab3da068a330f53896a0
7
+ data.tar.gz: d026d96371c484952e5f5a7e3523e593b215436c96900b7555935f16d3c63209358bedf0efc47a813bec80c03f44f7ed3cd0375f653a2740981e26e842464756
@@ -1 +1 @@
1
- {"tools":[{"name":"compress-pdf","rating":"5.00","votes":1},{"name":"split-pdf","rating":"3.50","votes":2}]}
1
+ {"tools":[{"name":"split-pdf","rating":"4.14","votes":7},{"name":"compress-pdf","rating":"4.86","votes":7}]}
@@ -110,7 +110,10 @@
110
110
  </script>
111
111
  {%- endif -%}
112
112
 
113
-
113
+ {%- if page.tool -%}
114
+ {%- include Rating/structureddata.html -%}
115
+ {%- endif -%}
116
+ <!-- GA -->
114
117
  {%- include google-analytics.html -%}
115
118
  </head>
116
119
 
@@ -0,0 +1,43 @@
1
+ <div class="container">
2
+ <div class="relatedPosts">
3
+
4
+ <h1 class="related_post_heading">Recent Posts</h1>
5
+ <div class="row">
6
+ {% for recent in site.posts offset:1 limit:3 %}
7
+ {% if recent.url != page.url %}
8
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
9
+ <div class="card h-100">
10
+ <a href="{{ recent.url }}">
11
+ <img src="{{ recent.image }}" class="card-img-top" alt="">
12
+ </a>
13
+ <div class="card-body">
14
+ <a class="text-decoration-none text-dark" href="{{ recent.url }}" class="anchor_link">
15
+ <h4 class="card-title mb-4 text-left">{{ recent.title }}</h4>
16
+ </a>
17
+ </div>
18
+ {% assign author = site.data.blog.authors[recent.author] %}
19
+ <div class="card-footer bg-white">
20
+ <div class="wrapfooter">
21
+ {% if recent.author %}
22
+ <span class="meta-footer-thumb">
23
+ <img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}">
24
+ </span>
25
+ {% endif %}
26
+
27
+ <span class="author-meta">
28
+ <span class="recent-name">
29
+ <a target="_blank" href="/blog">{{recent.author}}</a>
30
+ </span><br>
31
+ <span class="post-date">{{recent.date | date_to_string }}</span>
32
+ </span>
33
+ <span class="post-read-more"><a class="text-dark" href="{{ recent.url }}"
34
+ title="Read Story">Read More</a></span>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ {% endif %}
40
+ {% endfor %}
41
+ </div>
42
+ </div>
43
+ </div>
@@ -1,11 +1,11 @@
1
1
  <div class="container">
2
2
  <div class="relatedPosts">
3
3
 
4
- {%- if page.categories or page.tag-%}
4
+ {%- if page.categories or page.tags-%}
5
5
  <h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
6
6
  {%- endif -%}
7
7
 
8
- {% assign maxRelated = 2 %}
8
+ {% assign maxRelated = 3 %}
9
9
  {% assign minCommonTags = 1 %}
10
10
  {% assign maxRelatedCounter = 0 %}
11
11
 
@@ -19,6 +19,7 @@
19
19
  {% if page.categories contains category %}
20
20
  {% assign sameTagCount = sameTagCount | plus: 1 %}
21
21
 
22
+
22
23
  {% capture tagmarkup %} <span class="label label-default">{{ category }}</span> {% endcapture %}
23
24
  {% assign commonTags = commonTags | append: tagmarkup %}
24
25
  {% endif %}
@@ -64,7 +65,7 @@
64
65
  {% endif %}
65
66
  {% endif %}
66
67
  {% endfor %}
67
- {%- if page.tag -%}
68
+ {%- if page.tags -%}
68
69
  {%- include section/related_tag_post.html -%}
69
70
  {%- endif -%}
70
71
  </div>
@@ -9,7 +9,7 @@
9
9
 
10
10
  {% for tag in post.tags %}
11
11
  {% if post.url != page.url %}
12
- {% if page.tag contains tag %}
12
+ {% if page.tags contains tag %}
13
13
  {% assign sameTagCount = sameTagCount | plus: 1 %}
14
14
 
15
15
  {% capture tagmarkup %} <span class="label label-default">{{ tag }}</span> {% endcapture %}
@@ -5,80 +5,83 @@
5
5
  <!DOCTYPE html>
6
6
  <html lang="{{featureData.htmlLangAtt}}">
7
7
  {% include head/index.html %}
8
+
8
9
  <body>
9
10
  {% include header/index.html %}
10
11
  {%- include dropdown/langdropdown.html -%}
11
12
  <div class="flex-container">
12
13
  <div class="flex-class py-4 mt-4 mt-md-0 ">
13
- <div class="d-flex justify-content-center align-items-center"><span class="fHhdVc">
14
- <div class="div-cont feature-img mr-2">
15
- {%- if featureData.img -%}
16
- <img style=width:{{featureData.imgwidth}};height:{{featureData.imgheight}}; src="{{featureData.img}}" alt="{{featureData.imgalt}}">
17
- {%- else -%}
18
- <svg xmlns="http://www.w3.org/2000/svg"
19
- xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36 36" fill="#000">
20
- <path
21
- d="M6,6 L9,18 L6,30 L18,27 L30,30 L27,18 L30,6 L18,9 L6,6 Z M3,3 L18,6.75 L33,3 L29.25,18 L33,33 L18,29.25 L3,33 L6.75,18 L3,3 Z">
22
- </path>
23
- </svg>
24
- {%- endif -%} </div>
25
- </span>
26
- <h1 class="feature-h1">{{featureData.H1 | replace: "$variable", page.value}}</h1>
27
- </div>
28
- <h2 class="feature-h2">{{featureData.H2 | replace: "$variable", page.value}}</h2>
14
+ <div class="d-flex justify-content-center align-items-center"><span class="fHhdVc">
15
+ <div class="div-cont feature-img mr-2">
16
+ {%- if featureData.img -%}
17
+ <img style=width:{{featureData.imgwidth}};height:{{featureData.imgheight}};
18
+ src="{{featureData.img}}" alt="{{featureData.imgalt}}">
19
+ {%- else -%}
20
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
21
+ viewBox="0 0 36 36" fill="#000">
22
+ <path
23
+ d="M6,6 L9,18 L6,30 L18,27 L30,30 L27,18 L30,6 L18,9 L6,6 Z M3,3 L18,6.75 L33,3 L29.25,18 L33,33 L18,29.25 L3,33 L6.75,18 L3,3 Z">
24
+ </path>
25
+ </svg>
26
+ {%- endif -%}
27
+ </div>
28
+ </span>
29
+ <h1 class="feature-h1">{{featureData.H1 | replace: "$variable", page.value}}</h1>
29
30
  </div>
31
+ <h2 class="feature-h2">{{featureData.H2 | replace: "$variable", page.value}}</h2>
32
+ </div>
30
33
  </div>
31
34
  <div class="box-padding">
32
- <div class="d-flex" id="__cond-922051">
33
- <div class="flex-container">
34
- <div class="flex-class">
35
- <div class="d-flex flex-column">
36
- <div class="box"
37
- style=background:{{featureData.color}};min-height:{{featureData.height}};width:{{featureData.width}}>
38
- <div class="box-border"></div>
39
- <div class="content-box">
40
- {{content}}
41
- </div>
35
+ <div class="d-flex" id="__cond-922051">
36
+ <div class="flex-container">
37
+ <div class="flex-class">
38
+ <div class="d-flex flex-column">
39
+ <div class="box"
40
+ style=background:{{featureData.color}};min-height:{{featureData.height}};width:{{featureData.width}}>
41
+ <div class="box-border"></div>
42
+ <div class="content-box">
43
+ {{content}}
42
44
  </div>
43
45
  </div>
44
46
  </div>
45
47
  </div>
46
48
  </div>
49
+ </div>
47
50
  </div>
48
51
  <div class="container mt-4">
49
52
  <div class="row px-0">
50
53
  {% for data in featureData.TEXTUAL_CONTENT %}
51
54
  <div class="col-lg-4 col-md-6 my-4">
52
- <div><img class="feature-card-img" src="{{data.logoUrl}}"
53
- alt={{data.header}}>
54
- <div class="feature-card-title">{{data.header | replace: "$variable", page.value}}</div>
55
- <div class="feature-card-desc">{{data.content | replace: "$variable", page.value}}</div>
56
- </div>
55
+ <div><img class="feature-card-img" src="{{data.logoUrl}}" alt={{data.header}}>
56
+ <div class="feature-card-title">{{data.header | replace: "$variable", page.value}}</div>
57
+ <div class="feature-card-desc">{{data.content | replace: "$variable", page.value}}</div>
57
58
  </div>
58
- {% endfor %}
59
59
  </div>
60
+ {% endfor %}
60
61
  </div>
62
+ </div>
61
63
  <div class="d-flex justify-content-center mt-5 mb-5" id="__cond-1011327">
62
- <div class="flex-container pb-5">
63
- <div class="flex-class">
64
- <div class=" d-flex flex-wrap justify-content-center">
65
- {%- if featureData.HOW_TO_CONTENT.logoImageUrl -%}
66
- <div class="how-to-img-wrapper "><img class="how-to-leftimg"
67
- src="{{featureData.HOW_TO_CONTENT.logoImageUrl}}" alt="{{featureData.HOW_TO_CONTENT.logoImageAlt}}">
64
+ <div class="flex-container pb-5">
65
+ <div class="flex-class">
66
+ <div class=" d-flex flex-wrap justify-content-center">
67
+ {%- if featureData.HOW_TO_CONTENT.logoImageUrl -%}
68
+ <div class="how-to-img-wrapper "><img class="how-to-leftimg"
69
+ src="{{featureData.HOW_TO_CONTENT.logoImageUrl}}"
70
+ alt="{{featureData.HOW_TO_CONTENT.logoImageAlt}}">
68
71
  </div>
69
- {%- endif -%}
70
- <div class="how-to-right">
71
- <h3 class="how-to-title">{{featureData.HOW_TO_CONTENT.heading | replace: "$variable",
72
- page.value}}</h3>
73
- <ol class="how-to-list">
74
- {% for data in featureData.HOW_TO_CONTENT.steps %}
75
- <li class="how-to-list-item">{{data | replace: "$variable", page.value}}</li>
76
- {% endfor %}
77
- </ol>
78
- </div>
72
+ {%- endif -%}
73
+ <div class="how-to-right">
74
+ <h3 class="how-to-title">{{featureData.HOW_TO_CONTENT.heading | replace: "$variable",
75
+ page.value}}</h3>
76
+ <ol class="how-to-list">
77
+ {% for data in featureData.HOW_TO_CONTENT.steps %}
78
+ <li class="how-to-list-item">{{data | replace: "$variable", page.value}}</li>
79
+ {% endfor %}
80
+ </ol>
79
81
  </div>
80
82
  </div>
81
83
  </div>
84
+ </div>
82
85
  </div>
83
86
  <div class="container">
84
87
  <div class="row">
@@ -88,28 +91,31 @@
88
91
  <ul class="list-unstyled">
89
92
  {% for data in featureData.FAQ %}
90
93
  <li>
91
- <h3 class="faq-question" itemprop="name">{{data.question | replace: "$variable", page.value}}<em
92
- style="transform: rotate(-135deg);">
94
+ <h3 class="faq-question" itemprop="name">{{data.question | replace: "$variable",
95
+ page.value}}<em style="transform: rotate(-135deg);">
93
96
  <i></i></em>
94
97
  </h3>
95
98
  <div style="display: block;">
96
- <p class="faq-answer" itemprop="text">{{data.answer | replace: "$variable", page.value}}</p>
99
+ <p class="faq-answer" itemprop="text">{{data.answer | replace: "$variable", page.value}}
100
+ </p>
97
101
  </div>
98
102
  </li>
99
103
  <hr>
100
104
  {% endfor %}
101
105
  </ul>
102
- </div>
106
+ </div>
103
107
  </div>
104
108
  </div>
105
-
106
- </div>
109
+ </div>
107
110
  {%- include share/socialshare.html -%}
108
111
  {%- include Rating/rating.html -%}
109
- {%- if page.categories or page.tag-%}
112
+ {%- if page.categories or page.tags-%}
110
113
  {%- include section/related_categories_post.html -%}
114
+ {%- else -%}
115
+ {%- include section/recent_posts.html -%}
111
116
  {% endif %}
112
117
  {% include footer/index.html %}
113
118
  {% include script.html %}
114
119
  </body>
120
+
115
121
  </html>
data/_layouts/home.html CHANGED
@@ -106,8 +106,13 @@
106
106
  {%- endif -%}
107
107
  {%- include share/socialshare.html -%}
108
108
  {%- include Rating/rating.html -%}
109
- {% include footer/index.html %}
110
- {% include script.html %}
109
+ {%- if page.categories or page.tags-%}
110
+ {%- include section/related_categories_post.html -%}
111
+ {%- else -%}
112
+ {%- include section/recent_posts.html -%}
113
+ {% endif %}
114
+ {% include footer/index.html %}
115
+ {% include script.html %}
111
116
  </body>
112
117
 
113
118
  </html>
data/_layouts/post.html CHANGED
@@ -46,9 +46,12 @@
46
46
  <div class="post-content">
47
47
  {{ content }}
48
48
  </div>
49
+
49
50
  {%- include paginationPostPage.html -%}
50
51
  {%- if page.categories or page.tags-%}
51
52
  {%- include section/related_categories_post.html -%}
53
+ {%- else -%}
54
+ {%- include section/recent_posts.html -%}
52
55
  {% endif %}
53
56
  <div class="commentsection">
54
57
  {%- if site.disqus.shortname -%}
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: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-25 00:00:00.000000000 Z
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -103,6 +103,7 @@ files:
103
103
  - _includes/script.html
104
104
  - _includes/section/alertbar.html
105
105
  - _includes/section/count.html
106
+ - _includes/section/recent_posts.html
106
107
  - _includes/section/related_categories_post.html
107
108
  - _includes/section/related_tag_post.html
108
109
  - _includes/share/socialshare.html