appscms-tools-theme 1.2.6 → 1.2.7

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: 737f5eb26c149f8ba2b8279f4ce6b25400f2e8e80b2034201b85084f9fdfb830
4
- data.tar.gz: 75d4cbf6aeaa4109ab31f210ec45641dd1ddab6ea0db3c6657c0201c05a84959
3
+ metadata.gz: aca8a0c3d784107cc28c8ad17b597aef3ae5f6106ded8a1119a4dc8e118f87b0
4
+ data.tar.gz: b70c0c7c3094575e3e3a711391279ea8fc4e18a991feead0a29e72973869ee13
5
5
  SHA512:
6
- metadata.gz: 244746bc00d5e7478fec0651da97a668b643b58d77ed27f98dcbbf08a5ce371d4f65d4ca2ce4e9ca953efbcf133c4a4b8e46b53199ca9896e9f4b3350c54dbcb
7
- data.tar.gz: d302321fac675fa91a60b403aaef36d2634a5f320fe0ec809f23eb7200d26992daae6b99083a1a7466e76287f0635acd066a3237f86eefaaaddce6de088e3289
6
+ metadata.gz: 40fa78460bb8abaa9f372db82c8dfa4f63c431b10d53d72e1fc6b461893b12ec2823e4d3612570d90b63f49eb11ee297f98c5cbd838d281d979cc32c6bbdd31b
7
+ data.tar.gz: def1910ec5d18ad65e3f80c98f0144e5028badbd092632c7abec89e6bef233d2435364c607d6eae67245ff5141ed09cae27fcaed2669146e6e4119b4f06bafc2
@@ -0,0 +1,7 @@
1
+ {% if jekyll.environment == 'production' and site.clientid %}
2
+ <script
3
+ async
4
+ src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client={{site.clientid}}"
5
+ crossorigin="anonymous"
6
+ ></script>
7
+ {% endif %}
@@ -1,32 +1,41 @@
1
1
  <head>
2
- {% assign favicon = site.favicon %}
3
- {%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
4
- {%- if seo_description -%}
5
- {%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
6
- {%- endif -%}
7
- {%- if page.date -%}
8
- {%- assign og_type = "article" -%}
9
- {%- else -%}
10
- {%- assign og_type = "website" -%}
11
- {%- endif -%}
12
- <meta charset="UTF-8">
13
- <link rel="shortcut icon" href="{{favicon}}">
14
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
15
- <meta name="keywords" content="{{site.keyboard}}">
16
- <meta name="description" content="{{ seo_description | slice: 0, 155 }}">
17
- <meta name="og:description" content="{{ seo_description | slice: 0, 155 }}">
18
- <meta property="og:title" content="{{ page.title | default: site.title }}">
19
- <meta property="og:type" content="{{og_type}}">
20
- <meta property="og:locale" content="en_US">
21
- <meta property="og:site_name" content="{{site.name}}">
22
- <meta property="og:url" content="{{site.url | append: page.url}}">
23
- <meta name="author" content="{{ site.author_name }}">
24
- <title>{{page.title}}</title>
25
- <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
26
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" />
27
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css">
28
- <link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}">
29
- <script src="https://code.jquery.com/jquery-3.5.1.js"></script>
2
+ {% assign favicon = site.favicon %} {%- assign seo_description =
3
+ page.description | default: page.excerpt | default: site.description -%} {%-
4
+ if seo_description -%} {%- assign seo_description = seo_description |
5
+ markdownify | strip_html | strip_newlines | escape_once -%} {%- endif -%} {%-
6
+ if page.date -%} {%- assign og_type = "article" -%} {%- else -%} {%- assign
7
+ og_type = "website" -%} {%- endif -%}
8
+ <meta charset="UTF-8" />
9
+ <link rel="shortcut icon" href="{{favicon}}" />
10
+ <meta
11
+ name="viewport"
12
+ content="width=device-width, initial-scale=1, shrink-to-fit=no"
13
+ />
14
+ <meta name="keywords" content="{{site.keyboard}}" />
15
+ <meta name="description" content="{{ seo_description | slice: 0, 155 }}" />
16
+ <meta name="og:description" content="{{ seo_description | slice: 0, 155 }}" />
17
+ <meta property="og:title" content="{{ page.title | default: site.title }}" />
18
+ <meta property="og:type" content="{{og_type}}" />
19
+ <meta property="og:locale" content="en_US" />
20
+ <meta property="og:site_name" content="{{site.name}}" />
21
+ <meta property="og:url" content="{{site.url | append: page.url}}" />
22
+ <meta name="author" content="{{ site.author_name }}" />
23
+ <title>{{page.title}}</title>
24
+ <link
25
+ href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap"
26
+ rel="stylesheet"
27
+ />
28
+ <link
29
+ rel="stylesheet"
30
+ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css"
31
+ />
32
+ <link
33
+ rel="stylesheet"
34
+ href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
35
+ />
36
+ {% include adsense/adsense.html %}
37
+ <link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}" />
38
+ <script src="https://code.jquery.com/jquery-3.5.1.js"></script>
30
39
 
31
- {%- include google-analytics.html -%}
32
- </head>
40
+ {%- include google-analytics.html -%}
41
+ </head>
@@ -1,144 +1,159 @@
1
1
  <head>
2
- {% assign file = page.fileName %}
3
- {% assign lang = page.lang %}
4
- {% assign dataArr = site.data.[page.folderName][lang][file] %}
5
- {% assign dataToShow = dataArr %}
6
- {% assign title = dataToShow.TITLE | replace:"$variable", page.value | default:page.title | default: site.title %}
7
- {% assign description = dataToShow.META | replace:"$variable", page.value | default: site.description %}
8
- {% assign keywords = dataToShow.keywords %}
9
- {% assign favicon = site.favicon %}
10
- {%- assign langsupport = page.langsupport -%}
11
- {%- assign variable = site.data.languagesupport[langsupport]-%}
12
- {{site.weburl}}
13
- <meta charset="utf-8">
14
- <link rel="shortcut icon" href="{{favicon}}">
15
- <meta name="viewport" content="width=device-width">
16
- <title>{{title}}</title>
17
- {%- if dataToShow.keywords -%}
18
- <meta name="keywords" content="{{keywords}}" />
19
- {%- endif -%}
20
- <meta name="description" content="{{description}}">
21
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
22
- <link rel="canonical" href="{{site.url | append: page.url}}">
23
- <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap" rel="stylesheet">
24
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
25
- <link rel="stylesheet" href="/assets/css/tools.css">
26
- <meta data-rh="true" property="og:image" content="{{site.url}}{{favicon}}">
27
- <meta property="og:title" content="{{title}}">
28
- <meta property="og:description" content="{{description}}">
29
- <meta property="og:type" content="website">
30
- <meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}">
31
- <meta data-rh="true" property="og:site_name" content="{{site.name}}">
32
- <meta data-rh="true" property="twitter:domain" content="{{site.url}}">
33
- <meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}">
34
- <meta data-rh="true" name="twitter:title" content="{{title}}">
35
- <meta data-rh="true" name="twitter:description" content="{{description}}">
36
- <meta data-rh="true" name="twitter:image:src" content="{{site.url}}{{favicon}}">
37
- {%- if page.noindex -%}
38
- <meta name="robots" content="noindex">
39
- {%- endif -%}
40
-
41
- {%- if site.pwa -%}
42
- <link rel="manifest" href="/assets/js/manifest.json">
43
- {%- endif -%}
44
- {%- for item in variable.langsupport -%}
45
- <link data-rh="true" rel="alternate" href="{{site.url | append: item.permalink}}" hreflang="{{item.hreflang}}">
46
- {%- endfor -%}
47
- {% include cssfile/links.html %}
48
- <script type="application/ld+json">
49
- {
50
- "@context": "http://schema.org",
51
- "@type": "Organization",
52
- "url": "{{site.siteurl}}",
53
- "logo": "{{site.siteurl}}{{site.logo}}"
54
- }
55
- </script>
56
- <script type="application/ld+json">
57
- {
58
- "@context": "http://schema.org",
59
- "@type": "WebSite",
60
- "name": "{{site.name}}",
61
- "alternateName": "{{site.alternateName}}",
62
- "url": "{{site.siteurl}}"}
63
- </script>
64
- {%- if dataToShow.HOW_TO_CONTENT -%}
65
- {%- if dataToShow.HOW_TO_CONTENT.heading != '' -%}
66
- <script type="application/ld+json">
67
- {
68
- "@context": "http://schema.org",
69
- "@type": "HowTo",
70
- "name": "{{dataToShow.HOW_TO_CONTENT.heading | replace:'"', "'" }}",
71
- "image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
72
- "step": [
73
- {%- for item in dataToShow.HOW_TO_CONTENT.steps-%}
74
- {%- if forloop.last == true -%}
75
- { "@type": "HowToStep",
76
- "text": "{{item | replace:'"', "'" }}",
77
- "image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
78
- "url": "{{site.url | append: page.url}}#step{{ forloop.index }}"
79
- }
80
- {%- else -%}
81
- { "@type": "HowToStep",
82
- "text": "{{item | replace:'"', "'" }}",
83
- "image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
84
- "url": "{{site.url | append: page.url}}#step{{ forloop.index}}"
85
- },
86
- {%- endif -%}
87
- {%- endfor -%}
88
- ]
89
- }
90
- </script>
91
- {%- endif -%}
92
- {%- endif -%}
93
-
94
- {%- if dataToShow.FAQ -%}
95
- {%- if dataToShow.FAQ.first.question !='' -%}
96
- <script type="application/ld+json">
97
- {
98
- "@context": "http://schema.org",
99
- "@type": "FAQPage",
100
- "mainEntity": [
101
- {%- for item in dataToShow.FAQ-%}
102
- {%- if forloop.last == true -%}
103
- {"@type": "Question",
104
- "name": "{{item.question | replace:'"', "'" }}",
105
- "acceptedAnswer": {
106
- "@type": "Answer",
107
- "text": "{{item.answer | replace:'"', "'" }}"
108
- }
109
- }
110
- {%- else -%}
111
- {"@type": "Question",
112
- "name": "{{item.question | replace:'"', "'" }}",
113
- "acceptedAnswer": {
114
- "@type": "Answer",
115
- "text": "{{item.answer | replace:'"', "'" }}"
116
- }
117
- },
118
- {%- endif -%}
119
- {%- endfor -%}
120
- ]
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:
7
+ site.description %} {% assign keywords = dataToShow.keywords %} {% assign
8
+ favicon = site.favicon %} {%- assign langsupport = page.langsupport -%} {%-
9
+ assign variable = site.data.languagesupport[langsupport]-%} {{site.weburl}}
10
+ <meta charset="utf-8" />
11
+ <link rel="shortcut icon" href="{{favicon}}" />
12
+ <meta name="viewport" content="width=device-width" />
13
+ <title>{{title}}</title>
14
+ {%- if dataToShow.keywords -%}
15
+ <meta name="keywords" content="{{keywords}}" />
16
+ {%- endif -%}
17
+ <meta name="description" content="{{description}}" />
18
+ <link
19
+ rel="stylesheet"
20
+ href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
21
+ integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
22
+ crossorigin="anonymous"
23
+ />
24
+ <link rel="canonical" href="{{site.url | append: page.url}}" />
25
+ <link
26
+ href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap"
27
+ rel="stylesheet"
28
+ />
29
+ <link
30
+ rel="stylesheet"
31
+ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
32
+ integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
33
+ crossorigin="anonymous"
34
+ referrerpolicy="no-referrer"
35
+ />
36
+ <link rel="stylesheet" href="/assets/css/tools.css" />
37
+ <meta data-rh="true" property="og:image" content="{{site.url}}{{favicon}}" />
38
+ <meta property="og:title" content="{{title}}" />
39
+ <meta property="og:description" content="{{description}}" />
40
+ <meta property="og:type" content="website" />
41
+ <meta
42
+ data-rh="true"
43
+ property="og:url"
44
+ content="{{site.url | append: page.url}}"
45
+ />
46
+ <meta data-rh="true" property="og:site_name" content="{{site.name}}" />
47
+ <meta data-rh="true" property="twitter:domain" content="{{site.url}}" />
48
+ <meta
49
+ data-rh="true"
50
+ property="twitter:url"
51
+ content="{{site.url | append: page.url}}"
52
+ />
53
+ <meta data-rh="true" name="twitter:title" content="{{title}}" />
54
+ <meta data-rh="true" name="twitter:description" content="{{description}}" />
55
+ <meta
56
+ data-rh="true"
57
+ name="twitter:image:src"
58
+ content="{{site.url}}{{favicon}}"
59
+ />
60
+ {% include adsense/adsense.html %} {%- if page.noindex -%}
61
+ <meta name="robots" content="noindex" />
62
+ {%- endif -%} {%- if site.pwa -%}
63
+ <link rel="manifest" href="/assets/js/manifest.json" />
64
+ {%- endif -%} {%- for item in variable.langsupport -%}
65
+ <link
66
+ data-rh="true"
67
+ rel="alternate"
68
+ href="{{site.url | append: item.permalink}}"
69
+ hreflang="{{item.hreflang}}"
70
+ />
71
+ {%- endfor -%} {% include cssfile/links.html %}
72
+ <script type="application/ld+json">
73
+ {
74
+ "@context": "http://schema.org",
75
+ "@type": "Organization",
76
+ "url": "{{site.siteurl}}",
77
+ "logo": "{{site.siteurl}}{{site.logo}}"
78
+ }
79
+ </script>
80
+ <script type="application/ld+json">
81
+ {
82
+ "@context": "http://schema.org",
83
+ "@type": "WebSite",
84
+ "name": "{{site.name}}",
85
+ "alternateName": "{{site.alternateName}}",
86
+ "url": "{{site.siteurl}}"
87
+ }
88
+ </script>
89
+ {%- if dataToShow.HOW_TO_CONTENT -%} {%- if dataToShow.HOW_TO_CONTENT.heading
90
+ != '' -%}
91
+ <script type="application/ld+json">
92
+ {
93
+ "@context": "http://schema.org",
94
+ "@type": "HowTo",
95
+ "name": "{{dataToShow.HOW_TO_CONTENT.heading | replace:'"', "'" }}",
96
+ "image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
97
+ "step": [
98
+ {%- for item in dataToShow.HOW_TO_CONTENT.steps-%}
99
+ {%- if forloop.last == true -%}
100
+ { "@type": "HowToStep",
101
+ "text": "{{item | replace:'"', "'" }}",
102
+ "image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
103
+ "url": "{{site.url | append: page.url}}#step{{ forloop.index }}"
121
104
  }
122
- </script>
123
- {%- endif -%}
124
- {%- endif -%}
125
-
126
-
127
- {%- if page.tool -%}
128
- {%- include Rating/structureddata.html -%}
129
- {%- endif -%}
130
- {%- include google-analytics.html -%}
131
- {%- if site.pwa -%}
132
- <script>
133
- if ('serviceWorker' in navigator) {
134
- window.addEventListener('load', () => {
135
- navigator.serviceWorker.register('/serviceworker.js')
136
- .then((reg) => console.log('Success: ', reg.scope))
137
- .catch((err) => console.log('Failure: ', err));
138
- })
139
- }
140
- </script>
105
+ {%- else -%}
106
+ { "@type": "HowToStep",
107
+ "text": "{{item | replace:'"', "'" }}",
108
+ "image": "{{site.siteurl}}{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}",
109
+ "url": "{{site.url | append: page.url}}#step{{ forloop.index}}"
110
+ },
141
111
  {%- endif -%}
142
-
143
- </head>
144
-
112
+ {%- endfor -%}
113
+ ]
114
+ }
115
+ </script>
116
+ {%- endif -%} {%- endif -%} {%- if dataToShow.FAQ -%} {%- if
117
+ dataToShow.FAQ.first.question !='' -%}
118
+ <script type="application/ld+json">
119
+ {
120
+ "@context": "http://schema.org",
121
+ "@type": "FAQPage",
122
+ "mainEntity": [
123
+ {%- for item in dataToShow.FAQ-%}
124
+ {%- if forloop.last == true -%}
125
+ {"@type": "Question",
126
+ "name": "{{item.question | replace:'"', "'" }}",
127
+ "acceptedAnswer": {
128
+ "@type": "Answer",
129
+ "text": "{{item.answer | replace:'"', "'" }}"
130
+ }
131
+ }
132
+ {%- else -%}
133
+ {"@type": "Question",
134
+ "name": "{{item.question | replace:'"', "'" }}",
135
+ "acceptedAnswer": {
136
+ "@type": "Answer",
137
+ "text": "{{item.answer | replace:'"', "'" }}"
138
+ }
139
+ },
140
+ {%- endif -%}
141
+ {%- endfor -%}
142
+ ]
143
+ }
144
+ </script>
145
+ {%- endif -%} {%- endif -%} {%- if page.tool -%} {%- include
146
+ Rating/structureddata.html -%} {%- endif -%} {%- include google-analytics.html
147
+ -%} {%- if site.pwa -%}
148
+ <script>
149
+ if ('serviceWorker' in navigator) {
150
+ window.addEventListener('load', () => {
151
+ navigator.serviceWorker
152
+ .register('/serviceworker.js')
153
+ .then((reg) => console.log('Success: ', reg.scope))
154
+ .catch((err) => console.log('Failure: ', err))
155
+ })
156
+ }
157
+ </script>
158
+ {%- endif -%}
159
+ </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.2.6
4
+ version: 1.2.7
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-07-12 00:00:00.000000000 Z
11
+ date: 2021-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -130,6 +130,7 @@ files:
130
130
  - _includes/Rating/rating.html
131
131
  - _includes/Rating/structureddata.html
132
132
  - _includes/Usp/usp.html
133
+ - _includes/adsense/adsense.html
133
134
  - _includes/author_bio.html
134
135
  - _includes/authors/authors.html
135
136
  - _includes/cssfile/links.html
@@ -335,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
336
  - !ruby/object:Gem::Version
336
337
  version: '0'
337
338
  requirements: []
338
- rubygems_version: 3.1.4
339
+ rubygems_version: 3.2.22
339
340
  signing_key:
340
341
  specification_version: 4
341
342
  summary: Appscms theme for all tools