appscms-tools-theme 1.7.3 → 1.7.4
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.
- checksums.yaml +4 -4
- data/_includes/footer/index.html +5 -0
- data/_includes/head/index.html +175 -131
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c63132d072a54902b29f64603298e7014e044fad6298e2d2e98be6d6fa0eebf6
|
|
4
|
+
data.tar.gz: '034348221a24773a6847bd01777827c789d430f4cbc467ddd38acfae44da15bf'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 864fd2d0c2e7305956683baa7a9a347ecd258a5e60d935f3e10857293d5886866a274f896b860cf13219d54b448042d0f5b4272e0cfdbac70170f40266d4d531
|
|
7
|
+
data.tar.gz: 4451a0e5c9ec3de331cdf7439e42a75505a05fdadcc0dd90eb595a32ccf1039d0ee1e556788a11e22414ccee7f29b334baaa6d3d95f11c95dedaf7a6f6a87e12
|
data/_includes/footer/index.html
CHANGED
|
@@ -153,6 +153,9 @@
|
|
|
153
153
|
</div>
|
|
154
154
|
</div>
|
|
155
155
|
{%- endif -%}
|
|
156
|
+
{%- if page.nointernationalization -%}
|
|
157
|
+
<div></div>
|
|
158
|
+
{%- else -%}
|
|
156
159
|
{%- if site.internationalizationall -%}
|
|
157
160
|
<div class="privacy-links-item">
|
|
158
161
|
<button type="button" class="drop-down-btn" data-toggle="modal" data-target="#staticBackdrop">
|
|
@@ -234,6 +237,8 @@
|
|
|
234
237
|
</div>
|
|
235
238
|
</div>
|
|
236
239
|
{%- endif -%}
|
|
240
|
+
{%- endif -%}
|
|
241
|
+
|
|
237
242
|
|
|
238
243
|
</div>
|
|
239
244
|
</div>
|
data/_includes/head/index.html
CHANGED
|
@@ -1,132 +1,176 @@
|
|
|
1
|
-
<head>
|
|
2
|
-
{% assign file = page.fileName %} {% assign lang = page.lang %} {% assign
|
|
3
|
-
dataArr = site.data.[page.folderName][lang][file] %} {% assign dataToShow =
|
|
4
|
-
dataArr %} {% assign title = dataToShow.TITLE | replace:"$variable",
|
|
5
|
-
page.value | default:page.title | default: site.title %} {% assign description
|
|
6
|
-
= dataToShow.META | replace:"$variable", page.value | default: page.description | default:
|
|
7
|
-
site.description %} {% assign keywords = dataToShow.keywords %} {% assign
|
|
8
|
-
favicon = site.favicon %}
|
|
9
|
-
<meta charset="utf-8" />
|
|
10
|
-
<link rel="shortcut icon" href="{{favicon}}" />
|
|
11
|
-
<meta name="viewport" content="width=device-width" />
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
|
|
15
|
-
{
|
|
16
|
-
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
<
|
|
22
|
-
{
|
|
23
|
-
<
|
|
24
|
-
{%-
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
<meta
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
{
|
|
41
|
-
{
|
|
42
|
-
|
|
43
|
-
{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
1
|
+
<head>
|
|
2
|
+
{% assign file = page.fileName %} {% assign lang = page.lang %} {% assign
|
|
3
|
+
dataArr = site.data.[page.folderName][lang][file] %} {% assign dataToShow =
|
|
4
|
+
dataArr %} {% assign title = dataToShow.TITLE | replace:"$variable",
|
|
5
|
+
page.value | default:page.title | default: site.title %} {% assign description
|
|
6
|
+
= dataToShow.META | replace:"$variable", page.value | default: page.description | default:
|
|
7
|
+
site.description %} {% assign keywords = dataToShow.keywords %} {% assign
|
|
8
|
+
favicon = site.favicon %}
|
|
9
|
+
<meta charset="utf-8" />
|
|
10
|
+
<link rel="shortcut icon" href="{{favicon}}" />
|
|
11
|
+
<meta name="viewport" content="width=device-width" />
|
|
12
|
+
{%- if page.layout == "aboutUs" -%}
|
|
13
|
+
<title>{{site.name}} - About us | {{site.title}}</title>
|
|
14
|
+
{% elsif page.layout == "termAndCondition" %}
|
|
15
|
+
<title>{{site.name}} - Terms and conditions | {{site.title}}</title>
|
|
16
|
+
{% elsif page.layout == "disclaimer" %}
|
|
17
|
+
<title>{{site.name}} - Disclaimer | {{site.title}}</title>
|
|
18
|
+
{% elsif page.layout == "privacyPolicy" %}
|
|
19
|
+
<title>{{site.name}} - Privacy policy | {{site.title}}</title>
|
|
20
|
+
{% elsif page.layout == "contactUs" %}
|
|
21
|
+
<title>{{site.name}} - Contact | {{site.title}}</title>
|
|
22
|
+
{% elsif page.layout == "help" %}
|
|
23
|
+
<title>{{site.name}} - Help | {{site.title}}</title>
|
|
24
|
+
{%- else -%}
|
|
25
|
+
<title>{{title}}</title>
|
|
26
|
+
{%- endif -%}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
{%- if dataToShow.keywords -%}
|
|
30
|
+
<meta name="keywords" content="{{keywords}}" />
|
|
31
|
+
{%- endif -%}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
{%- if page.layout == "aboutUs" -%}
|
|
38
|
+
<meta name="description" content="{{site.name}} - About us | {{description}}" />
|
|
39
|
+
{% elsif page.layout == "termAndCondition" %}
|
|
40
|
+
<meta name="description" content="{{site.name}} - Terms and conditions | {{description}}" />
|
|
41
|
+
{% elsif page.layout == "disclaimer" %}
|
|
42
|
+
<meta name="description" content="{{site.name}} - Disclaimer | {{description}}" />
|
|
43
|
+
{% elsif page.layout == "privacyPolicy" %}
|
|
44
|
+
<meta name="description" content="{{site.name}} - Privacy policy | {{description}}" />
|
|
45
|
+
{% elsif page.layout == "contactUs" %}
|
|
46
|
+
<meta name="description" content="{{site.name}} - Contact | {{description}}" />
|
|
47
|
+
{%- else -%}
|
|
48
|
+
<meta name="description" content="{{description}}" />
|
|
49
|
+
{%- endif -%}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
<link rel="stylesheet" href="/assets/css/bootstrap.min.css" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
|
62
|
+
<link rel="canonical" href="{{site.url | append: page.url}}" />
|
|
63
|
+
|
|
64
|
+
{%- if dataToShow.css -%}
|
|
65
|
+
<link rel="stylesheet" href="{{dataToShow.css}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
|
66
|
+
{%- else -%}
|
|
67
|
+
<link rel="stylesheet" href="/assets/css/tools.css" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
|
68
|
+
{%- endif -%}
|
|
69
|
+
<meta data-rh="true" property="og:image" content="{{site.url}}{{favicon}}" />
|
|
70
|
+
<meta property="og:title" content="{{title}}" />
|
|
71
|
+
<meta property="og:description" content="{{description}}" />
|
|
72
|
+
<meta property="og:type" content="website" />
|
|
73
|
+
<meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}" />
|
|
74
|
+
<meta data-rh="true" property="og:site_name" content="{{site.name}}" />
|
|
75
|
+
<meta data-rh="true" property="twitter:domain" content="{{site.url}}" />
|
|
76
|
+
<meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}" />
|
|
77
|
+
<meta data-rh="true" name="twitter:title" content="{{title}}" />
|
|
78
|
+
<meta data-rh="true" name="twitter:description" content="{{description}}" />
|
|
79
|
+
<meta data-rh="true" name="twitter:image:src" content="{{site.url}}{{favicon}}" />
|
|
80
|
+
{% include adsense/adsense.html %} {%- if page.noindex -%}
|
|
81
|
+
<meta name="robots" content="noindex" />
|
|
82
|
+
{%- endif -%} {%- if site.pwa -%}
|
|
83
|
+
<link rel="manifest" href="/assets/js/manifest.json" />
|
|
84
|
+
{%- endif -%}
|
|
85
|
+
{%- if site.internationalization -%}
|
|
86
|
+
{%- include alternates/alternates.html -%}
|
|
87
|
+
{%- endif -%}
|
|
88
|
+
{% include cssfile/links.html %}
|
|
89
|
+
<script type="application/ld+json">
|
|
90
|
+
{
|
|
91
|
+
"@context": "http://schema.org",
|
|
92
|
+
"@type": "Organization",
|
|
93
|
+
"url": "{{site.siteurl}}",
|
|
94
|
+
"logo": "{{site.siteurl}}{{site.logo}}"
|
|
95
|
+
}
|
|
96
|
+
</script>
|
|
97
|
+
<script type="application/ld+json">
|
|
98
|
+
{
|
|
99
|
+
"@context": "http://schema.org",
|
|
100
|
+
"@type": "WebSite",
|
|
101
|
+
"name": "{{site.name}}",
|
|
102
|
+
"alternateName": "{{site.alternateName}}",
|
|
103
|
+
"url": "{{site.siteurl}}"
|
|
104
|
+
}
|
|
105
|
+
</script>
|
|
106
|
+
{%- if dataToShow.HOW_TO_CONTENT -%} {%- if dataToShow.HOW_TO_CONTENT.heading
|
|
107
|
+
!= '' -%}
|
|
108
|
+
<script type="application/ld+json">
|
|
109
|
+
{
|
|
110
|
+
"@context": "http://schema.org",
|
|
111
|
+
"@type": "HowTo",
|
|
112
|
+
"name": "{{dataToShow.HOW_TO_CONTENT.heading | replace:'"', "'" }}",
|
|
113
|
+
"image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
|
|
114
|
+
"step": [
|
|
115
|
+
{%- for item in dataToShow.HOW_TO_CONTENT.steps-%}
|
|
116
|
+
{%- if forloop.last == true -%}
|
|
117
|
+
{ "@type": "HowToStep",
|
|
118
|
+
"text": "{{item | replace:'"', "'" }}",
|
|
119
|
+
"image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
|
|
120
|
+
"url": "{{site.url | append: page.url}}#step{{ forloop.index }}"
|
|
121
|
+
}
|
|
122
|
+
{%- else -%}
|
|
123
|
+
{ "@type": "HowToStep",
|
|
124
|
+
"text": "{{item | replace:'"', "'" }}",
|
|
125
|
+
"image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
|
|
126
|
+
"url": "{{site.url | append: page.url}}#step{{ forloop.index}}"
|
|
127
|
+
},
|
|
128
|
+
{%- endif -%}
|
|
129
|
+
{%- endfor -%}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
</script>
|
|
133
|
+
{%- endif -%} {%- endif -%} {%- if dataToShow.FAQ -%} {%- if
|
|
134
|
+
dataToShow.FAQ.first.question !='' -%}
|
|
135
|
+
<script type="application/ld+json">
|
|
136
|
+
{
|
|
137
|
+
"@context": "http://schema.org",
|
|
138
|
+
"@type": "FAQPage",
|
|
139
|
+
"mainEntity": [
|
|
140
|
+
{%- for item in dataToShow.FAQ-%}
|
|
141
|
+
{%- if forloop.last == true -%}
|
|
142
|
+
{"@type": "Question",
|
|
143
|
+
"name": "{{item.question | replace:'"', "'" }}",
|
|
144
|
+
"acceptedAnswer": {
|
|
145
|
+
"@type": "Answer",
|
|
146
|
+
"text": "{{item.answer | replace:'"', "'" }}"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
{%- else -%}
|
|
150
|
+
{"@type": "Question",
|
|
151
|
+
"name": "{{item.question | replace:'"', "'" }}",
|
|
152
|
+
"acceptedAnswer": {
|
|
153
|
+
"@type": "Answer",
|
|
154
|
+
"text": "{{item.answer | replace:'"', "'" }}"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{%- endif -%}
|
|
158
|
+
{%- endfor -%}
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
</script>
|
|
162
|
+
{%- endif -%} {%- endif -%} {%- if page.tool -%} {%- include
|
|
163
|
+
Rating/structureddata.html -%} {%- endif -%} {%- include google-analytics.html
|
|
164
|
+
-%} {%- if site.pwa -%}
|
|
165
|
+
<script>
|
|
166
|
+
if ('serviceWorker' in navigator) {
|
|
167
|
+
window.addEventListener('load', () => {
|
|
168
|
+
navigator.serviceWorker
|
|
169
|
+
.register('/serviceworker.js')
|
|
170
|
+
.then((reg) => console.log('Success: ', reg.scope))
|
|
171
|
+
.catch((err) => console.log('Failure: ', err))
|
|
172
|
+
})
|
|
173
|
+
}
|
|
174
|
+
</script>
|
|
175
|
+
{%- endif -%}
|
|
132
176
|
</head>
|
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: 1.7.
|
|
4
|
+
version: 1.7.4
|
|
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-12-
|
|
11
|
+
date: 2021-12-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|