appscms-tools-theme 3.8.2 → 3.8.3

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.
@@ -0,0 +1,87 @@
1
+ <section class="related-posts-section">
2
+ <div class="container">
3
+
4
+ <div class="relatedPosts">
5
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
6
+
7
+ <div class="row">
8
+ <div class="col-md-9 mx-auto">
9
+ {%- endif -%}
10
+ <h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
11
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
12
+
13
+ </div>
14
+ </div>
15
+ {%- endif -%}
16
+ {% assign file = page.fileName %}
17
+ {% assign lang = page.lang %}
18
+ {% assign folder = page.folderName %}
19
+ {% assign homeData = site.data[folder][lang][file] %}
20
+
21
+
22
+
23
+ <div class="row">
24
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
25
+
26
+
27
+ <div class="col-md-9 mx-auto">
28
+ <div class="row">
29
+ {%- endif -%}
30
+ {% for entry in site.data.blog.relatedblogs %}
31
+ {% if entry.path == blogPostPath %}
32
+
33
+ {% for post in entry.relatedBlogs %}
34
+
35
+ {%- include authors/authors.html-%}
36
+ <div class="
37
+ {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
38
+ else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
39
+ <div class=" card h-100">
40
+ <a href="/blog/{{ post.metadata.url }}">
41
+ <img src="{{ post.metadata.image }}" loading="lazy" class="card-img-top" height="auto"
42
+ width="100%" alt="{{post.metadata.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
43
+ -%}>
44
+ </a>
45
+ <div class="card-body">
46
+ <a class="text-decoration-none text-dark" href="/blog/{{ post.metadata.url }}" class="anchor_link">
47
+ <h4 class="card-title mb-4 text-left">{{ post.metadata.title }}</h4>
48
+ </a>
49
+ </div>
50
+ <div class="card-footer bg-white">
51
+ <div class="wrapfooter">
52
+ {% if post.metadata.author %}
53
+ <span class="meta-footer-thumb">
54
+ <img class="author-thumb" loading="lazy" src="{{ image }}"
55
+ alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
56
+ -%}>
57
+ </span>
58
+ {% endif %}
59
+
60
+ <span class="author-meta">
61
+ <span class="post-name">
62
+ <a target="_blank" href="/blog">{{authorName}}</a>
63
+ </span><br>
64
+ <span class="post-date">{{post.metadata.date | date_to_string }}</span>
65
+ </span>
66
+ <span class="post-read-more"><a class="text-dark" href="/blog/{{ post.metadata.url }}"
67
+ title="Read Story">Read
68
+ More</a></span>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ {% endfor %}
74
+
75
+ {% endif %}
76
+ {% endfor %}
77
+
78
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
79
+
80
+
81
+ </div>
82
+ </div>
83
+ {%- endif -%}
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </section>
data/_layouts/post.html CHANGED
@@ -188,6 +188,9 @@
188
188
  </div>
189
189
  </div>
190
190
  </div>
191
+ {%- if site.relatedPages -%}
192
+ {%- include customblog/relatedBlogs.html -%}
193
+ {%- else -%}
191
194
  <div class="col-md-12">
192
195
  {%- if page.categories.size> 0 or page.tags.size>0-%}
193
196
  {%- include section/related_categories_post.html -%}
@@ -208,6 +211,7 @@
208
211
  {%- endif -%}
209
212
  </div>
210
213
  </div>
214
+ {%- endif -%}
211
215
  </div>
212
216
  </div>
213
217
  </section>
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: 3.8.2
4
+ version: 3.8.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: 2023-08-19 00:00:00.000000000 Z
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -138,6 +138,7 @@ files:
138
138
  - _includes/customScripts.html
139
139
  - _includes/customblog/pageRelatedPosts.html
140
140
  - _includes/customblog/recentposts.html
141
+ - _includes/customblog/relatedBlogs.html
141
142
  - _includes/customblog/relatedposts.html
142
143
  - _includes/disqus_comments.html
143
144
  - _includes/dropdown/langdropdown.html