appscms-tools-theme 1.9.1 → 1.9.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,46 +2,63 @@
2
2
  <div class="container">
3
3
  <div class="relatedPosts">
4
4
  {%- if site.posts.size>0 -%}
5
- <h2 class="related_post_heading">Recent Posts</h1>
6
- {%- endif -%}
7
- <div class="row">
8
- {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
9
- {% for post in posts limit: 6%}
10
- {%- include /authors/authors.html -%}
11
- <div class="col-lg-4 col-md-6 mb-4 card-group">
12
- <div class="card h-100">
13
- <a href="{{ post.url }}">
14
- <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%"
15
- loading="lazy" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
16
- endif -%}>
17
- </a>
18
- <div class="card-body">
19
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
20
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
5
+ {%- if site.monumetricId -%}
6
+ <div class="row">
7
+ <div class="col-md-9 mx-auto">
8
+ {%- endif -%}
9
+ <h2 class="related_post_heading">Recent Posts</h2>
10
+ {%- if site.monumetricId -%}
11
+ </div>
12
+ </div>
13
+ {%- endif -%}
14
+ {%- endif -%}
15
+ <div class="row">
16
+ {%- if site.monumetricId -%}
17
+ <div class="col-md-9 mx-auto">
18
+ <div class="row">
19
+ {%- endif -%}
20
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
21
+ {% for post in posts limit: 6%}
22
+ {%- include /authors/authors.html -%}
23
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
24
+ <div class="card h-100">
25
+ <a href="{{ post.url }}">
26
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%"
27
+ loading="lazy" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
28
+ endif -%}>
21
29
  </a>
22
- </div>
23
- <div class="card-footer bg-white">
24
- <div class="wrapfooter">
25
- {% if post.author %}
26
- <span class="meta-footer-thumb">
27
- <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}"
28
- {%- if site.crossorigin -%} crossorigin {%- endif -%}>
29
- </span>
30
- {% endif %}
31
- <span class="author-meta">
32
- <span class="post-name">
33
- <a target="_blank" href="/blog">{{authorName}}</a>
34
- </span><br>
35
- <span class="post-date">{{post.date | date_to_string }}</span>
36
- </span>
37
- <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
38
- title="Read Story">Read More</a></span>
30
+ <div class="card-body">
31
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
32
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
33
+ </a>
34
+ </div>
35
+ <div class="card-footer bg-white">
36
+ <div class="wrapfooter">
37
+ {% if post.author %}
38
+ <span class="meta-footer-thumb">
39
+ <img class="author-thumb" loading="lazy" src="{{image}}"
40
+ alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
41
+ -%}>
42
+ </span>
43
+ {% endif %}
44
+ <span class="author-meta">
45
+ <span class="post-name">
46
+ <a target="_blank" href="/blog">{{authorName}}</a>
47
+ </span><br>
48
+ <span class="post-date">{{post.date | date_to_string }}</span>
49
+ </span>
50
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
51
+ title="Read Story">Read More</a></span>
52
+ </div>
39
53
  </div>
40
54
  </div>
41
55
  </div>
56
+ {% endfor %}
57
+ {%- if site.monumetricId -%}
42
58
  </div>
43
- {% endfor %}
44
59
  </div>
60
+ {%- endif -%}
61
+ </div>
45
62
  </div>
46
63
  </div>
47
64
  </section>
@@ -1,9 +1,15 @@
1
1
  <section class="related-posts-section">
2
2
  <div class="container">
3
3
  <div class="relatedPosts">
4
-
5
- <h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
6
-
4
+ {%- if site.monumetricId -%}
5
+ <div class="row">
6
+ <div class="col-md-9 mx-auto">
7
+ {%- endif -%}
8
+ <h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
9
+ {%- if site.monumetricId -%}
10
+ </div>
11
+ </div>
12
+ {%- endif -%}
7
13
 
8
14
 
9
15
  {% assign maxRelated = 6 %}
@@ -23,151 +29,176 @@
23
29
  {% assign tags= page.tags %}
24
30
  {%- endif -%}
25
31
  <div class="row">
26
- {% for post in site.posts %}
27
- {% assign sameTagCount = 0 %}
28
- {% assign commonTags = '' %}
29
-
30
-
31
- {%- if categories -%}
32
- {% for category in post.categories %}
33
- {% if post.url != page.url %}
34
- {% if categories contains category %}
35
- {% assign sameTagCount = sameTagCount | plus: 1 %}
36
- {% endif %}
37
- {% endif %}
38
- {% endfor %}
39
- {%- endif -%}
40
-
41
- {%- if tags -%}
42
- {% for tag in post.tags %}
43
- {% if post.url != page.url %}
44
- {% if tags contains tag %}
45
- {% assign sameTagCount = sameTagCount | plus: 1 %}
46
- {% endif %}
47
- {%- endif -%}
48
- {% endfor %}
49
- {%- endif -%}
50
-
51
-
52
- {% if sameTagCount >= minCommonTags %}
53
- {%- include authors/authors.html-%}
54
- <div class="col-lg-4 col-md-6 mb-4 card-group">
55
- <div class="card h-100">
56
- <a href="{{ post.url }}">
57
- <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
58
- alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
59
- </a>
60
- <div class="card-body">
61
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
62
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
63
- </a>
32
+ {%- if site.monumetricId -%}
33
+
34
+ <div class="col-md-9 mx-auto">
35
+ <div class="row">
36
+ {%- endif -%}
37
+ {% for post in site.posts %}
38
+ {% assign sameTagCount = 0 %}
39
+ {% assign commonTags = '' %}
40
+
41
+
42
+ {%- if categories -%}
43
+ {% for category in post.categories %}
44
+ {% if post.url != page.url %}
45
+ {% if categories contains category %}
46
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
47
+ {% endif %}
48
+ {% endif %}
49
+ {% endfor %}
50
+ {%- endif -%}
51
+
52
+ {%- if tags -%}
53
+ {% for tag in post.tags %}
54
+ {% if post.url != page.url %}
55
+ {% if tags contains tag %}
56
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
57
+ {% endif %}
58
+ {%- endif -%}
59
+ {% endfor %}
60
+ {%- endif -%}
61
+
62
+
63
+ {% if sameTagCount >= minCommonTags %}
64
+ {%- include authors/authors.html-%}
65
+ <div class="
66
+ {%- if site.monumetricId -%}
67
+ col-md-6 mb-4 card-group
68
+ {%- else -%}
69
+ col-lg-4 col-md-6 mb-4 card-group
70
+ {%- endif -%}
71
+ ">
72
+ <div class="card h-100">
73
+ <a href="{{ post.url }}">
74
+ <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto"
75
+ width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
76
+ endif -%}>
77
+ </a>
78
+ <div class="card-body">
79
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
80
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
81
+ </a>
82
+ </div>
83
+ <div class="card-footer bg-white">
84
+ <div class="wrapfooter">
85
+ {% if post.author %}
86
+ <span class="meta-footer-thumb">
87
+ <img class="author-thumb" loading="lazy" src="{{ image }}"
88
+ alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
89
+ -%}>
90
+ </span>
91
+ {% endif %}
92
+
93
+ <span class="author-meta">
94
+ <span class="post-name">
95
+ <a target="_blank" href="/blog">{{authorName}}</a>
96
+ </span><br>
97
+ <span class="post-date">{{post.date | date_to_string }}</span>
98
+ </span>
99
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
100
+ title="Read Story">Read
101
+ More</a></span>
102
+ </div>
103
+ </div>
104
+ </div>
64
105
  </div>
65
- <div class="card-footer bg-white">
66
- <div class="wrapfooter">
67
- {% if post.author %}
68
- <span class="meta-footer-thumb">
69
- <img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}"
70
- {%- if site.crossorigin -%} crossorigin {%- endif -%}>
71
- </span>
72
- {% endif %}
73
-
74
- <span class="author-meta">
75
- <span class="post-name">
76
- <a target="_blank" href="/blog">{{authorName}}</a>
77
- </span><br>
78
- <span class="post-date">{{post.date | date_to_string }}</span>
79
- </span>
80
- <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
81
- title="Read Story">Read
82
- More</a></span>
106
+ {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
107
+ {% if maxRelatedCounter >= maxRelated %}
108
+ {% break %}
109
+ {% endif %}
110
+ {%- else -%}
111
+ {%- endif -%}
112
+ {% endfor %}
113
+ {%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
114
+
115
+
116
+
117
+
118
+ {%- if remamingPosts > 0 -%}
119
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
120
+ {% for post in posts %}
121
+ {%- if remamingPosts > 0 -%}
122
+ {%- assign tagData = true -%}
123
+ {%- assign catData = true -%}
124
+ {%- if tags -%}
125
+ {% for tag in post.tags %}
126
+ {% if post.url != page.url %}
127
+ {% if tags contains tag %}
128
+ {%- assign tagData = false -%}
129
+ {%- break -%}
130
+ {% endif %}
131
+ {%- endif -%}
132
+ {% endfor %}
133
+ {%- endif -%}
134
+ {%- if categories -%}
135
+ {%- if tagData == false -%}
136
+ {%- continue -%}
137
+ {%- else -%}
138
+ {% for category in post.categories %}
139
+ {% if post.url != page.url %}
140
+ {% if categories contains category %}
141
+ {%- assign catData = false -%}
142
+ {%- break -%}
143
+ {% endif %}
144
+ {% endif %}
145
+ {% endfor %}
146
+ {%- endif -%}
147
+ {%- if catData == false -%}
148
+ {%- continue -%}
149
+ {%- endif -%}
150
+ {%- assign remamingPosts = remamingPosts | minus: 1 -%}
151
+ {%- include authors/authors.html-%}
152
+ <div class="
153
+ {%- if site.monumetricId -%}
154
+ col-md-6 mb-4 card-group
155
+ {%- else -%}
156
+ col-lg-4 col-md-6 mb-4 card-group
157
+ {%- endif -%}
158
+ ">
159
+ <div class=" card h-100">
160
+ <a href="{{ post.url }}">
161
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%"
162
+ loading="lazy" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
163
+ endif -%}>
164
+ </a>
165
+ <div class="card-body">
166
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
167
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
168
+ </a>
169
+ </div>
170
+ <div class="card-footer bg-white">
171
+ <div class="wrapfooter">
172
+ {% if post.author %}
173
+ <span class="meta-footer-thumb">
174
+ <img class="author-thumb" loading="lazy" src="{{image}}"
175
+ alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
176
+ -%}>
177
+ </span>
178
+ {% endif %}
179
+ <span class="author-meta">
180
+ <span class="post-name">
181
+ <a target="_blank" href="/blog">{{authorName}}</a>
182
+ </span><br>
183
+ <span class="post-date">{{post.date | date_to_string }}</span>
184
+ </span>
185
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
186
+ title="Read Story">Read
187
+ More</a></span>
188
+ </div>
189
+ </div>
83
190
  </div>
84
191
  </div>
85
- </div>
86
- </div>
87
- {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
88
- {% if maxRelatedCounter >= maxRelated %}
89
- {% break %}
90
- {% endif %}
91
- {%- else -%}
92
- {%- endif -%}
93
- {% endfor %}
94
- {%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
95
-
192
+ {%- endif -%}
193
+ {%- endif -%}
96
194
 
195
+ {% endfor %}
196
+ {%- endif -%}
97
197
 
98
-
99
- {%- if remamingPosts > 0 -%}
100
- {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
101
- {% for post in posts %}
102
- {%- if remamingPosts > 0 -%}
103
- {%- assign tagData = true -%}
104
- {%- assign catData = true -%}
105
- {%- if tags -%}
106
- {% for tag in post.tags %}
107
- {% if post.url != page.url %}
108
- {% if tags contains tag %}
109
- {%- assign tagData = false -%}
110
- {%- break -%}
111
- {% endif %}
112
- {%- endif -%}
113
- {% endfor %}
114
- {%- endif -%}
115
- {%- if categories -%}
116
- {%- if tagData == false -%}
117
- {%- continue -%}
118
- {%- else -%}
119
- {% for category in post.categories %}
120
- {% if post.url != page.url %}
121
- {% if categories contains category %}
122
- {%- assign catData = false -%}
123
- {%- break -%}
124
- {% endif %}
125
- {% endif %}
126
- {% endfor %}
127
- {%- endif -%}
128
- {%- if catData == false -%}
129
- {%- continue -%}
130
- {%- endif -%}
131
- {%- assign remamingPosts = remamingPosts | minus: 1 -%}
132
- {%- include authors/authors.html-%}
133
- <div class="col-lg-4 col-md-6 mb-4 card-group">
134
- <div class="card h-100">
135
- <a href="{{ post.url }}">
136
- <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
137
- alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
138
- </a>
139
- <div class="card-body">
140
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
141
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
142
- </a>
143
- </div>
144
- <div class="card-footer bg-white">
145
- <div class="wrapfooter">
146
- {% if post.author %}
147
- <span class="meta-footer-thumb">
148
- <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}" {%-
149
- if site.crossorigin -%} crossorigin {%- endif -%}>
150
- </span>
151
- {% endif %}
152
- <span class="author-meta">
153
- <span class="post-name">
154
- <a target="_blank" href="/blog">{{authorName}}</a>
155
- </span><br>
156
- <span class="post-date">{{post.date | date_to_string }}</span>
157
- </span>
158
- <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
159
- title="Read Story">Read
160
- More</a></span>
161
- </div>
162
- </div>
198
+ {%- if site.monumetricId -%}
163
199
  </div>
164
200
  </div>
165
201
  {%- endif -%}
166
- {%- endif -%}
167
-
168
- {% endfor %}
169
- {%- endif -%}
170
-
171
202
  </div>
172
203
  </div>
173
204
  </div>
@@ -5,52 +5,62 @@
5
5
  {% assign dataFile= site.data[folder][lang][file] %}
6
6
  <footer class="footer">
7
7
  <div class="container">
8
- <div class="footer-wrapper">
9
- {%- if dataToShow.logo -%}
10
- <div class="footer-logo-cont"><img loading="lazy" src="{{dataToShow.logo}}" title="logo" class="footer-logo"
11
- {%- if site.crossorigin -%} crossorigin {%- endif -%}>
12
- <div class="footer-title">{{dataToShow.heading}}</div>
13
- </div>
14
- {%- endif -%}
15
- <nav class="footer-nav">
16
- <ul class="footer-ul">
17
- <h2 class="footer-ul-title">{{dataToShow.companytitle | default: 'Company' }}</h2>
18
- {% for data in dataToShow.company %}
19
- <a class="footer-link" href="{{data.url}}">{{data.name}}</a>
20
- {% endfor %}
21
- </ul>
22
- <ul class="footer-ul">
23
- <h2 class="footer-ul-title">{{dataToShow.producttitle | default: 'Product' }}</h2>
24
- {% for data in dataToShow.product %}
25
- <a class="footer-link" href="{{data.url}}">{{data.name}}</a>
26
- {% endfor %}
27
- </ul>
28
- <ul class="footer-ul">
29
- <h2 class="footer-ul-title">{{dataToShow.networksitestitle | default: 'Network sites'}}</h2>
30
- {% for data in networksitesData.networkSites %}
31
- <a class="footer-link" href="{{data.url}}">{{data.name}}</a>
8
+ {%- if site.monumetricId -%}
9
+ <div class="row">
10
+ <div class="col-md-9 mx-auto">
11
+ {%- endif -%}
12
+ <div class="footer-wrapper">
13
+ {%- if dataToShow.logo -%}
14
+ <div class="footer-logo-cont"><img loading="lazy" src="{{dataToShow.logo}}" title="logo"
15
+ class="footer-logo" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
16
+ <div class="footer-title">{{dataToShow.heading}}</div>
17
+ </div>
18
+ {%- endif -%}
19
+ <nav class="footer-nav">
20
+ <ul class="footer-ul">
21
+ <h2 class="footer-ul-title">{{dataToShow.companytitle | default: 'Company' }}</h2>
22
+ {% for data in dataToShow.company %}
23
+ <a class="footer-link" href="{{data.url}}">{{data.name}}</a>
24
+ {% endfor %}
25
+ </ul>
26
+ <ul class="footer-ul">
27
+ <h2 class="footer-ul-title">{{dataToShow.producttitle | default: 'Product' }}</h2>
28
+ {% for data in dataToShow.product %}
29
+ <a class="footer-link" href="{{data.url}}">{{data.name}}</a>
30
+ {% endfor %}
31
+ </ul>
32
+ <ul class="footer-ul">
33
+ <h2 class="footer-ul-title">{{dataToShow.networksitestitle | default: 'Network sites'}}</h2>
34
+ {% for data in networksitesData.networkSites %}
35
+ <a class="footer-link" href="{{data.url}}">{{data.name}}</a>
36
+ {% endfor %}
37
+ </ul>
38
+ </nav>
39
+ </div>
40
+ <div class="jKLUgT"></div>
41
+ <div class="d-flex py-4">
42
+ {% for data in dataToShow.social %}
43
+ <a class="cVpsCJ px-3" target="_blank" rel="noopener noreferrer" href="{{data.url}}"
44
+ title="LinkedIn">
45
+ <div class="sDfHB" style="width:24px;height:24px">
46
+ <img loading="lazy" src="{{data.logo}}" title="{{data.title}}" {%- if site.crossorigin -%}
47
+ crossorigin {%- endif -%}>
48
+ </div>
49
+ </a>
32
50
  {% endfor %}
33
- </ul>
34
- </nav>
35
- </div>
36
- <div class="jKLUgT"></div>
37
- <div class="d-flex py-4">
38
- {% for data in dataToShow.social %}
39
- <a class="cVpsCJ px-3" target="_blank" rel="noopener noreferrer" href="{{data.url}}" title="LinkedIn">
40
- <div class="sDfHB" style="width:24px;height:24px">
41
- <img loading="lazy" src="{{data.logo}}" title="{{data.title}}" {%- if site.crossorigin -%}
42
- crossorigin {%- endif -%}>
43
51
  </div>
44
- </a>
45
- {% endfor %}
46
- </div>
47
- <div class="privacy-footer">
48
- <div class="footer-msg">{{dataToShow.messege}}
49
- </div>
50
- <div class="privacy-links">
51
- {% for data in dataToShow.legal %}
52
- <div class="privacy-links-item"><a href="{{data.url}}">{{data.name}}</a></div>
53
- {% endfor %}
52
+ <div class="privacy-footer">
53
+ <div class="footer-msg">{{dataToShow.messege}}
54
+ </div>
55
+ <div class="privacy-links">
56
+ {% for data in dataToShow.legal %}
57
+ <div class="privacy-links-item"><a href="{{data.url}}">{{data.name}}</a></div>
58
+ {% endfor %}
59
+ </div>
60
+ </div>
61
+ {%- if site.monumetricId -%}
54
62
  </div>
55
63
  </div>
64
+ {%- endif -%}
65
+ </div>
56
66
  </footer>
@@ -10,13 +10,21 @@
10
10
  {% include header/index.html %}
11
11
  {%- include dropdown/langdropdown.html -%}
12
12
  <div class="container py-4 about_layout">
13
- <h1 class="about-h1 py-2">About us</h1>
14
- <h2 class="about-h2"> Welcome to {{ page.companyName}}</h2>
15
- <p class="about-para py-2">We are here to help you. Ping us your queries at care@{{
16
- page.companyName}}.{{page.domain}}</p>
17
- <div>
18
- {{content}}
13
+ {%- if site.monumetricId -%}
14
+ <div class="row">
15
+ <div class="col-md-9 mx-auto">
16
+ {%- endif -%}
17
+ <h1 class="about-h1 py-2">About us</h1>
18
+ <h2 class="about-h2"> Welcome to {{ page.companyName}}</h2>
19
+ <p class="about-para py-2">We are here to help you. Ping us your queries at care@{{
20
+ page.companyName}}.{{page.domain}}</p>
21
+ <div>
22
+ {{content}}
23
+ </div>
24
+ {%- if site.monumetricId -%}
25
+ </div>
19
26
  </div>
27
+ {%- endif -%}
20
28
  </div>
21
29
  {% include staticfooter.html %}
22
30
  {% include script.html %}