appscms-tools-theme 4.5.4 → 4.5.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,49 +1,50 @@
1
1
  <section class="related-posts-section container">
2
- <div class="mx-auto col-md-11 col-lg-11 col-sm-10 p-3 pb-3">
3
- <div class="relatedPosts">
4
- {%- if site.posts.size>0 -%} {%- if site.monumetricId and page.url != '/'
5
- and page.lang == "en" -%}
6
- <div class="row">
7
- <div class="col-md-9 mx-auto">
8
- {%- endif -%}
9
- <div class="heading">
10
- <div class="row">
11
- <div class="col-md-12 col-sm-12 mx-auto">
12
- <div
13
- class="d-flex align-items-center justify-content-center mb-5"
14
- >
15
- <hr
16
- class="flex-grow-1 mx-4 mb-0"
17
- style="height: 2px; background-color: #000"
18
- />
19
- <h4 class="text-center appscms-h3 my-5">Recent posts</h4>
20
- <hr
21
- class="flex-grow-1 mx-4 mb-0"
22
- style="height: 2px; background-color: #000"
23
- />
24
- </div>
2
+ <div class="mx-auto col-md-11 col-lg-11 col-sm-10 p-3 pb-3">
3
+ <div class="relatedPosts">
4
+ {%- if site.posts.size>0 -%} {%- if site.monumetricId and page.url != '/'
5
+ and page.lang == "en" -%}
6
+ <div class="row">
7
+ <div class="col-md-9 mx-auto">
8
+ {%- endif -%}
9
+ <div class="heading">
10
+ <div class="row">
11
+ <div class="col-md-12 col-sm-12 mx-auto">
12
+ <div
13
+ class="d-flex align-items-center justify-content-center mb-5"
14
+ >
15
+ <hr
16
+ class="flex-grow-1 mx-4 mb-0"
17
+ style="height: 2px; background-color: #000"
18
+ />
19
+ <h4 class="text-center appscms-h3 my-5">Recent posts</h4>
20
+ <hr
21
+ class="flex-grow-1 mx-4 mb-0"
22
+ style="height: 2px; background-color: #000"
23
+ />
25
24
  </div>
26
25
  </div>
27
26
  </div>
28
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
29
27
  </div>
28
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
30
29
  </div>
31
- {%- endif -%} {%- endif -%}
32
- <div class="row allblogs shadow appscms-blogs">
33
- <div class="row px-4">
34
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
35
-
36
- <div class="col-md-9 mx-auto">
37
- <div class="row">
38
- {%- endif -%} {% assign posts = site.posts |
39
- where_exp:"post","post.url != page.url" %} {% for post in posts
40
- limit: 6%} {%- include /authors/authors.html -%}
41
- <div class="col-xl-4 col-lg-6 col-md-6 mb-4">
42
- <div class="card h-100 appscms-blog-cards">
43
- <a
44
- class="text-decoration-none text-dark"
45
- href="{{ post.url }}"
46
- >
30
+ </div>
31
+ {%- endif -%} {%- endif -%}
32
+ <div class="row allblogs shadow appscms-blogs">
33
+ <div class="row px-4">
34
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
35
+
36
+ <div class="col-md-9 mx-auto">
37
+ <div class="row">
38
+ {%- endif -%} {% assign posts = site.posts |
39
+ where_exp:"post","post.url != page.url" %} {% for post in posts
40
+ limit: 6%} {%- include /authors/authors.html -%}
41
+ <div class="col-xl-4 col-lg-6 col-md-6 mb-4">
42
+ <div class="card h-100 appscms-blog-cards">
43
+ <a
44
+ class="text-decoration-none text-dark"
45
+ href="{{ post.url }}"
46
+ aria-label="{{post.title}}"
47
+ >
47
48
  <div class="extrabox">
48
49
  <img
49
50
  class="card-img-top"
@@ -51,43 +52,43 @@
51
52
  alt="Video thumbnail"
52
53
  loading="lazy"
53
54
  style="height: 100%; width: 100%"
54
- /></div>
55
- <div class="card-body">
56
- <h5 class="card-title">{{post.title}}</h5>
57
- <div class="wrapfooter">
58
- <span class="meta-footer-thumb"
59
- ><img
60
- class="author-thumb ezlazyloaded"
61
- loading="lazy"
62
- src="{{image}}"
63
- alt="{{authorName}}"
64
- ezimgfmt="rs rscb1 src ng ngcb1"
65
- data-ezsrc="https://safeimagekit.com/ezoimgfmt/d33wubrfki0l68.cloudfront.net/6ec825fe5d7100e36db90bc00382e77e2e242a20/f5cec/assets/images/udit.jpg?ezimgfmt=rs:35x35/rscb1/ng:webp/ngcb1"
66
- ezoid="0.04631063861662277"
67
- /></span>
68
- <div class="author-meta">
69
- <span class="post-name"
70
- ><a target="_blank" href="/blog"
71
- >{{authorName}}</a
72
- ></span
73
- ><br />
74
- <p class="post-date mb-0">
75
- {{post.date | date_to_string }}
76
- </p>
77
- </div>
55
+ />
56
+ </div>
57
+ <div class="card-body">
58
+ <h5 class="card-title">{{post.title}}</h5>
59
+ <div class="wrapfooter">
60
+ <span class="meta-footer-thumb"
61
+ ><img
62
+ class="author-thumb ezlazyloaded"
63
+ loading="lazy"
64
+ src="{{image}}"
65
+ alt="{{authorName}}"
66
+ ezimgfmt="rs rscb1 src ng ngcb1"
67
+ data-ezsrc="https://safeimagekit.com/ezoimgfmt/d33wubrfki0l68.cloudfront.net/6ec825fe5d7100e36db90bc00382e77e2e242a20/f5cec/assets/images/udit.jpg?ezimgfmt=rs:35x35/rscb1/ng:webp/ngcb1"
68
+ ezoid="0.04631063861662277"
69
+ /></span>
70
+ <div class="author-meta">
71
+ <span class="post-name"
72
+ ><a target="_blank" href="/blog/"
73
+ >{{authorName}}</a
74
+ ></span
75
+ ><br />
76
+ <p class="post-date mb-0">
77
+ {{post.date | date_to_string }}
78
+ </p>
78
79
  </div>
79
80
  </div>
80
- </a>
81
- </div>
81
+ </div>
82
+ </a>
82
83
  </div>
83
- {% endfor %} {%- if site.monumetricId and page.url != '/' and
84
- page.lang == "en" -%}
85
84
  </div>
85
+ {% endfor %} {%- if site.monumetricId and page.url != '/' and
86
+ page.lang == "en" -%}
86
87
  </div>
87
- {%- endif -%}
88
88
  </div>
89
+ {%- endif -%}
89
90
  </div>
90
91
  </div>
91
92
  </div>
92
- </section>
93
-
93
+ </div>
94
+ </section>
@@ -24,13 +24,13 @@
24
24
  <div class="{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
25
25
  else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
26
26
  <div class="card h-100 appscms-blog-cards">
27
- <a class="extrapaddingforimg" href="/blog/{{ post.url }}">
27
+ <a class="extrapaddingforimg" href="/blog/{{ post.url }}" aria-label="{{post.title}}">
28
28
  <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="250"
29
29
  width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
30
30
  -%}>
31
31
  </a>
32
32
  <div class="card-body">
33
- <a class="text-decoration-none text-dark" href="/blog/{{ post.url }}" class="anchor_link">
33
+ <a class="text-decoration-none text-dark" href="/blog/{{ post.url }}" class="anchor_link" aria-label="{{post.title}}">
34
34
  <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
35
35
  </a>
36
36
  <div class="wrapfooter">
@@ -40,7 +40,7 @@
40
40
  {% endif %}
41
41
 
42
42
  <div class="author-meta">
43
- <a class="post-name" target="_blank" href="/blog">{{authorName}}</a>
43
+ <a class="post-name" target="_blank" href="/blog/">{{authorName}}</a>
44
44
  {% assign path_parts = post.path | split: '/' %}
45
45
  {% assign date_parts = path_parts[1] | split: '-' %}
46
46
  {% assign year = date_parts[0] %}
@@ -27,13 +27,13 @@
27
27
  <div class=" {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6
28
28
  mb-4 card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
29
29
  <div class=" card h-100 appscms-blog-cards">
30
- <a href="{{ post.url }}">
30
+ <a href="{{ post.url }}" aria-label="{{post.title}}">
31
31
  <img src="{{ post.image }}" class="card-img-top" height="250" width="100%"
32
32
  loading="lazy" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
33
33
  endif -%}
34
34
  </a>
35
35
  <div class="card-body">
36
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
36
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link" aria-label="{{post.title}}">
37
37
  <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
38
38
  </a>
39
39
  </div>
@@ -47,7 +47,7 @@
47
47
  {% endif %}
48
48
  <span class="author-meta">
49
49
 
50
- <a target="_blank" href="/blog">{{authorName}}</a>
50
+ <a target="_blank" href="/blog/">{{authorName}}</a>
51
51
  <br>
52
52
  <span class="post-date">{{post.date | date_to_string }}</span>
53
53
  </span>
@@ -35,13 +35,13 @@
35
35
  {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
36
36
  else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
37
37
  <div class=" card h-100 appscms-blog-cards">
38
- <a href="/blog/{{ post.metadata.url }}">
38
+ <a href="/blog/{{ post.metadata.url }}" aria-label="{{post.metadata.title}}">
39
39
  <img src="{{ post.metadata.image }}" loading="lazy" class="card-img-top" height="250"
40
40
  width="100%" alt="{{post.metadata.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
41
41
  -%}
42
42
  </a>
43
43
  <div class="card-body">
44
- <a class="text-decoration-none text-dark" href="/blog/{{ post.metadata.url }}" class="anchor_link">
44
+ <a class="text-decoration-none text-dark" href="/blog/{{ post.metadata.url }}" class="anchor_link" aria-label="{{post.metadata.title}}">
45
45
  <h4 class="card-title mb-4 text-left">{{ post.metadata.title }}</h4>
46
46
  </a>
47
47
  <div class="wrapfooter">
@@ -55,7 +55,7 @@
55
55
 
56
56
  <span class="author-meta">
57
57
 
58
- <a target="_blank" href="/blog">{{authorName}}</a>
58
+ <a target="_blank" href="/blog/">{{authorName}}</a>
59
59
  <br>
60
60
  <span class="post-date">{{post.metadata.date | date_to_string }}</span>
61
61
  </span>
@@ -93,7 +93,7 @@
93
93
 
94
94
  <span class="author-meta">
95
95
 
96
- <a target="_blank" href="/blog">{{authorName}}</a>
96
+ <a target="_blank" href="/blog/">{{authorName}}</a>
97
97
  <br>
98
98
  <span class="post-date">{{post.date | date_to_string }}</span>
99
99
  </span>
@@ -148,12 +148,13 @@
148
148
  {%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
149
149
  else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
150
150
  <div class=" card h-100 appscms-blog-cards">
151
- <a href="{{ post.url }}">
151
+ <a href="{{ post.url }}" aria-label="{{post.title}}">
152
152
  <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="215px" width="100%" loading="lazy"
153
153
  alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
154
154
  </a>
155
155
  <div class="card-body">
156
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
156
+ <a href="{{ post.url }}" aria-label="{{post.title}}">
157
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link" >
157
158
  <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
158
159
  </a>
159
160
  </div>
@@ -167,7 +168,7 @@
167
168
  {% endif %}
168
169
  <span class="author-meta">
169
170
  <span class="post-name">
170
- <a target="_blank" href="/blog">{{authorName}}</a>
171
+ <a target="_blank" href="/blog/">{{authorName}}</a>
171
172
  </span><br>
172
173
  <span class="post-date">{{post.date | date_to_string }}</span>
173
174
  </span>
@@ -28,33 +28,30 @@
28
28
  <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
29
29
  </a>
30
30
  </div>
31
-
32
- <div class="wrapfooter">
33
- {% if post.author %}
34
- <span class="meta-footer-thumb">
35
- <img
36
- class="author-thumb"
37
- loading="lazy"
38
- src="{{image}}"
39
- alt="{{ authorName }}"
40
- {%-
41
- if
42
- site.crossorigin
43
- -%}
44
- crossorigin
45
- {%-
46
- endif
47
- -%}
48
- />
49
- </span>
50
- {% endif %}
51
- <span class="author-meta">
52
-
53
- <a target="_blank" href="/blog">{{authorName}}</a><br />
54
- <span class="post-date">{{post.date | date_to_string }}</span>
55
- </span>
56
-
57
- </div>
58
-
31
+
32
+ <div class="wrapfooter">
33
+ {% if post.author %}
34
+ <span class="meta-footer-thumb">
35
+ <img
36
+ class="author-thumb"
37
+ loading="lazy"
38
+ src="{{image}}"
39
+ alt="{{ authorName }}"
40
+ {%-
41
+ if
42
+ site.crossorigin
43
+ -%}
44
+ crossorigin
45
+ {%-
46
+ endif
47
+ -%}
48
+ />
49
+ </span>
50
+ {% endif %}
51
+ <span class="author-meta">
52
+ <a target="_blank" href="/blog/">{{authorName}}</a><br />
53
+ <span class="post-date">{{post.date | date_to_string }}</span>
54
+ </span>
55
+ </div>
59
56
  </div>
60
57
  </div>