appscms-tools-theme 4.6.1 → 4.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -104,103 +104,7 @@
104
104
  "answer": "It will be gone. The alarm will not ring after $variable minutes, if you close the browser."
105
105
  }
106
106
  ],
107
- "megaMenu": {
108
- "nav-link-name": "Tools",
109
- "dropdown": [
110
- {
111
- "categoryName": " Pdf",
112
- "links": [
113
- {
114
- "iconSrc": "/assets/cloud.svg",
115
- "name": "Compress",
116
- "url": "/",
117
- "hover": "red"
118
- },
119
- {
120
- "iconSrc": "/assets/cloud.svg",
121
- "name": "Split",
122
- "url": "/",
123
- "hover": "blue"
124
- },
125
- {
126
- "iconSrc": "/assets/easy.svg",
127
- "name": "Merge Pdf",
128
- "url": "/",
129
- "hover": "green"
130
- }
131
- ]
132
- },
133
- {
134
- "categoryName": " Pdf",
135
- "links": [
136
- {
137
- "iconSrc": "/assets/cloud.svg",
138
- "name": "Compress",
139
- "url": "/",
140
- "hover": "red"
141
- },
142
- {
143
- "iconSrc": "/assets/cloud.svg",
144
- "name": "Split",
145
- "url": "/",
146
- "hover": "blue"
147
- },
148
- {
149
- "iconSrc": "/assets/easy.svg",
150
- "name": "Merge Pdf",
151
- "url": "/",
152
- "hover": "green"
153
- }
154
- ]
155
- },
156
- {
157
- "categoryName": "Compress Pdf",
158
- "links": [
159
- {
160
- "iconSrc": "/assets/cloud.svg",
161
- "name": "Compress",
162
- "url": "/",
163
- "hover": "red"
164
- },
165
- {
166
- "iconSrc": "/assets/cloud.svg",
167
- "name": "Split",
168
- "url": "/",
169
- "hover": "blue"
170
- },
171
- {
172
- "iconSrc": "/assets/easy.svg",
173
- "name": "Merge Pdf",
174
- "url": "/",
175
- "hover": "green"
176
- }
177
- ]
178
- },
179
- {
180
- "categoryName": "Compress Pdf",
181
- "links": [
182
- {
183
- "iconSrc": "/assets/cloud.svg",
184
- "name": "Compress",
185
- "url": "/",
186
- "hover": "red"
187
- },
188
- {
189
- "iconSrc": "/assets/cloud.svg",
190
- "name": "Split",
191
- "url": "/",
192
- "hover": "blue"
193
- },
194
- {
195
- "iconSrc": "/assets/easy.svg",
196
- "name": "Merge Pdf",
197
- "url": "/",
198
- "hover": "green"
199
- }
200
- ]
201
- }
202
- ]
203
- },
107
+
204
108
  "jscdns": [
205
109
  "<script crossorigin='anonymous' src=\"/assets/js/googledrive.js\"></script>"
206
110
  ],
@@ -21,16 +21,21 @@
21
21
  {%- endif -%}
22
22
  {% for post in blogData %}
23
23
  {%- include authors/authors.html-%}
24
+ {% assign title = post.title %}
25
+ {% assign title_lower = title | downcase %}
26
+ {% assign title_hyphenated = title_lower | replace: ' ', '-' %}
27
+ {% assign blogUrl = title_hyphenated | replace: '!', '' | replace: '?', '' | replace: ',', '' | replace: '.', '' | replace: ';', '' | replace: ':', '' | replace: '&', '' | replace: '@', '' | replace: '#', '' | replace: '$', '' | replace: '%', '' | replace: '^', '' | replace: '*', '' | replace: '(', '' | replace: ')', '' | replace: '+', '' | replace: '=', '' | replace: '{', '' | replace: '}', '' | replace: '[', '' | replace: ']', '' | replace: '|', '' | replace: '\\', '' | replace: '/', '' | replace: '<', '' | replace: '>', '' | replace: '~', '' | replace: '`', '' | replace: '"', '' | replace: "'", '' %}
28
+
24
29
  <div class="{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
25
30
  else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
26
31
  <div class="card h-100 appscms-blog-cards">
27
- <a class="extrapaddingforimg" href="/blog/{{ post.url }}" aria-label="{{post.title}}">
32
+ <a class="extrapaddingforimg" href="/blog/{{ blogUrl }}" aria-label="{{post.title}}">
28
33
  <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="250"
29
34
  width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
30
35
  -%}>
31
36
  </a>
32
37
  <div class="card-body">
33
- <a class="text-decoration-none text-dark" href="/blog/{{ post.url }}" class="anchor_link" aria-label="{{post.title}}">
38
+ <a class="text-decoration-none text-dark" href="/blog/{{ blogUrl }}" class="anchor_link" aria-label="{{post.title}}">
34
39
  <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
35
40
  </a>
36
41
  <div class="wrapfooter">
@@ -40,12 +45,13 @@
40
45
  {% endif %}
41
46
 
42
47
  <div class="author-meta">
43
- <a class="post-name" target="_blank" href="/blog/">{{authorName}}</a>
48
+ <a class="post-name" target="_blank" href="/authors/{{authorName |downcase |replace:' ','-'}}">{{ authorName }}</a>
44
49
  {% assign path_parts = post.path | split: '/' %}
45
- {% assign date_parts = path_parts[1] | split: '-' %}
50
+ {% assign filename = path_parts[1] %}
51
+ {% assign date_parts = filename | split: '-' %}
46
52
  {% assign year = date_parts[0] %}
47
53
  {% assign month = date_parts[1] %}
48
- {% assign day = date_parts[2] | split: '-' | first %}
54
+ {% assign day = date_parts[2] %}
49
55
  <div class="post-date">{{ day }}-{{ month }}-{{ year }}</div>
50
56
  </div>
51
57
 
@@ -1,4 +1,3 @@
1
- {%- if Data.megaMenu -%}
2
1
  <div class="appscms-toolbar">
3
2
  <div class="row">
4
3
  <div class="col-11 mx-auto">
@@ -6,7 +5,7 @@
6
5
  <div id="close-nav-ham" data-open="1" class="close-nav-ham">
7
6
  <img class="mt-3" style="cursor: pointer;" height="30px" width="30px" src="/assets/images/close-button.svg" alt="close-button">
8
7
  </div>
9
-
8
+ {%- if Data.megaMenu -%}
10
9
  {%- for item in Data.megaMenu.dropdown -%}
11
10
  <li class="appscms-toolbar-list-item">
12
11
  <span class="appscms-toolbar-list-item-span d-flex justify-content-between">
@@ -39,20 +38,8 @@
39
38
  </div>
40
39
  </li>
41
40
  {%- endfor -%}
42
-
43
- </div>
44
- </div>
45
- </div>
46
- </div>
47
- {%- else -%}
48
- <div class="appscms-toolbar">
49
- <div class="row">
50
- <div class="col-11 mx-auto">
51
- <div class="appscms-toolbar-list">
52
- <div id="close-nav-ham" data-open="1" class="close-nav-ham">
53
- <img class="mt-3" style="cursor: pointer;" height="30px" width="30px" src="/assets/images/close-button.svg" alt="close-button">
54
- </div>
55
-
41
+ {%- endif -%}
42
+
56
43
  {%- for item in siteData.megaMenu.dropdown -%}
57
44
  <li class="appscms-toolbar-list-item">
58
45
  <span class="appscms-toolbar-list-item-span d-flex justify-content-between">
@@ -90,4 +77,4 @@
90
77
  </div>
91
78
  </div>
92
79
  </div>
93
- {%- endif -%}
80
+
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: 4.6.1
4
+ version: 4.6.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: 2024-05-25 00:00:00.000000000 Z
11
+ date: 2024-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll