appscms-tools-theme 1.7.3 → 1.7.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b7aad8ccb0d4fa1c2f54a096bedb32b31dda339222f7104f3a4f9ac2ef7be27
4
- data.tar.gz: c9b720fa96c503b75dd738970cb13ed2bc8c2320be0e5207b86c49de235c7769
3
+ metadata.gz: c63132d072a54902b29f64603298e7014e044fad6298e2d2e98be6d6fa0eebf6
4
+ data.tar.gz: '034348221a24773a6847bd01777827c789d430f4cbc467ddd38acfae44da15bf'
5
5
  SHA512:
6
- metadata.gz: 284a07e29417079b63fd3a4a62c250a007ca8b7e401746792274a6a32895fe083bab8462f0ff2848e670a77f28741b55aa9997763024fa77ebaaf9d883bdbead
7
- data.tar.gz: 46d36421e3aea261a9bb75dfb73f269da6c80f68af8b018748850794c0e576dd3fa86f2c54905d67e2be6ad056bc2b8f9a02ee33d3ab448f90f12affc2855596
6
+ metadata.gz: 864fd2d0c2e7305956683baa7a9a347ecd258a5e60d935f3e10857293d5886866a274f896b860cf13219d54b448042d0f5b4272e0cfdbac70170f40266d4d531
7
+ data.tar.gz: 4451a0e5c9ec3de331cdf7439e42a75505a05fdadcc0dd90eb595a32ccf1039d0ee1e556788a11e22414ccee7f29b334baaa6d3d95f11c95dedaf7a6f6a87e12
@@ -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>
@@ -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
- <title>{{title}}</title>
13
- {%- if dataToShow.keywords -%}
14
- <meta name="keywords" content="{{keywords}}" />
15
- {%- endif -%}
16
- <meta name="description" content="{{description}}" />
17
- <link rel="stylesheet" href="/assets/css/bootstrap.min.css" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
18
- <link rel="canonical" href="{{site.url | append: page.url}}" />
19
-
20
- {%- if dataToShow.css -%}
21
- <link rel="stylesheet" href="{{dataToShow.css}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
22
- {%- else -%}
23
- <link rel="stylesheet" href="/assets/css/tools.css" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
24
- {%- endif -%}
25
- <meta data-rh="true" property="og:image" content="{{site.url}}{{favicon}}" />
26
- <meta property="og:title" content="{{title}}" />
27
- <meta property="og:description" content="{{description}}" />
28
- <meta property="og:type" content="website" />
29
- <meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}" />
30
- <meta data-rh="true" property="og:site_name" content="{{site.name}}" />
31
- <meta data-rh="true" property="twitter:domain" content="{{site.url}}" />
32
- <meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}" />
33
- <meta data-rh="true" name="twitter:title" content="{{title}}" />
34
- <meta data-rh="true" name="twitter:description" content="{{description}}" />
35
- <meta data-rh="true" name="twitter:image:src" content="{{site.url}}{{favicon}}" />
36
- {% include adsense/adsense.html %} {%- if page.noindex -%}
37
- <meta name="robots" content="noindex" />
38
- {%- endif -%} {%- if site.pwa -%}
39
- <link rel="manifest" href="/assets/js/manifest.json" />
40
- {%- endif -%}
41
- {%- if site.internationalization -%}
42
- {%- include alternates/alternates.html -%}
43
- {%- endif -%}
44
- {% include cssfile/links.html %}
45
- <script type="application/ld+json">
46
- {
47
- "@context": "http://schema.org",
48
- "@type": "Organization",
49
- "url": "{{site.siteurl}}",
50
- "logo": "{{site.siteurl}}{{site.logo}}"
51
- }
52
- </script>
53
- <script type="application/ld+json">
54
- {
55
- "@context": "http://schema.org",
56
- "@type": "WebSite",
57
- "name": "{{site.name}}",
58
- "alternateName": "{{site.alternateName}}",
59
- "url": "{{site.siteurl}}"
60
- }
61
- </script>
62
- {%- if dataToShow.HOW_TO_CONTENT -%} {%- if dataToShow.HOW_TO_CONTENT.heading
63
- != '' -%}
64
- <script type="application/ld+json">
65
- {
66
- "@context": "http://schema.org",
67
- "@type": "HowTo",
68
- "name": "{{dataToShow.HOW_TO_CONTENT.heading | replace:'"', "'" }}",
69
- "image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
70
- "step": [
71
- {%- for item in dataToShow.HOW_TO_CONTENT.steps-%}
72
- {%- if forloop.last == true -%}
73
- { "@type": "HowToStep",
74
- "text": "{{item | replace:'"', "'" }}",
75
- "image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
76
- "url": "{{site.url | append: page.url}}#step{{ forloop.index }}"
77
- }
78
- {%- else -%}
79
- { "@type": "HowToStep",
80
- "text": "{{item | replace:'"', "'" }}",
81
- "image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
82
- "url": "{{site.url | append: page.url}}#step{{ forloop.index}}"
83
- },
84
- {%- endif -%}
85
- {%- endfor -%}
86
- ]
87
- }
88
- </script>
89
- {%- endif -%} {%- endif -%} {%- if dataToShow.FAQ -%} {%- if
90
- dataToShow.FAQ.first.question !='' -%}
91
- <script type="application/ld+json">
92
- {
93
- "@context": "http://schema.org",
94
- "@type": "FAQPage",
95
- "mainEntity": [
96
- {%- for item in dataToShow.FAQ-%}
97
- {%- if forloop.last == true -%}
98
- {"@type": "Question",
99
- "name": "{{item.question | replace:'"', "'" }}",
100
- "acceptedAnswer": {
101
- "@type": "Answer",
102
- "text": "{{item.answer | replace:'"', "'" }}"
103
- }
104
- }
105
- {%- else -%}
106
- {"@type": "Question",
107
- "name": "{{item.question | replace:'"', "'" }}",
108
- "acceptedAnswer": {
109
- "@type": "Answer",
110
- "text": "{{item.answer | replace:'"', "'" }}"
111
- }
112
- },
113
- {%- endif -%}
114
- {%- endfor -%}
115
- ]
116
- }
117
- </script>
118
- {%- endif -%} {%- endif -%} {%- if page.tool -%} {%- include
119
- Rating/structureddata.html -%} {%- endif -%} {%- include google-analytics.html
120
- -%} {%- if site.pwa -%}
121
- <script>
122
- if ('serviceWorker' in navigator) {
123
- window.addEventListener('load', () => {
124
- navigator.serviceWorker
125
- .register('/serviceworker.js')
126
- .then((reg) => console.log('Success: ', reg.scope))
127
- .catch((err) => console.log('Failure: ', err))
128
- })
129
- }
130
- </script>
131
- {%- endif -%}
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.3
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 00:00:00.000000000 Z
11
+ date: 2021-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll