appscms-tools-theme 2.0.3 → 2.0.6
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/head/index.html +10 -7
- data/_includes/monumetric/ads.html +58 -0
- data/_includes/monumetric/monumetric.html +1 -0
- data/assets/js/ads.js +8 -0
- metadata +9 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '08ae155c2265d620eeca8a1821692e530f460261ad72ccb2ddf1bf7795f52310'
|
|
4
|
+
data.tar.gz: d002795a5a166579dccba7d608fe808210f259dfd721d8b5322b4befbbc38def
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4477a654d1cdd04eb748be5a878b2bdcc021e3059c3375b5c764d85c9dabc7457d7e093fdb3203a451cc5386cfaad96ca673d6bff97ab4a46e982061ba3904d
|
|
7
|
+
data.tar.gz: d95c06208db5d67cbe77d4f030a22e24f2d40863a3506b031806841d28c7aabf099a6185f9646780baf5dbeb0b31744d863958cff1bab703db33c19876986db8
|
data/_includes/head/index.html
CHANGED
|
@@ -77,18 +77,19 @@
|
|
|
77
77
|
{%- else -%}
|
|
78
78
|
<meta name="description" content="{{description}}" />
|
|
79
79
|
{%- endif -%}
|
|
80
|
-
<link rel="stylesheet" href="/assets/css/bootstrap.min.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
|
|
81
|
-
endif -%}>
|
|
80
|
+
<link rel="stylesheet" href="/assets/css/bootstrap.min.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
|
|
81
|
+
{%- endif -%}>
|
|
82
82
|
<link rel="canonical" href="{{site.url | append: page.url}}" />
|
|
83
83
|
{%- if dataToShow.css -%}
|
|
84
|
-
<link rel="stylesheet" href="{{dataToShow.css}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif
|
|
85
|
-
{%- else -%}
|
|
86
|
-
<link rel="stylesheet" href="/assets/css/tools.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif
|
|
84
|
+
<link rel="stylesheet" href="{{dataToShow.css}}" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%- endif
|
|
87
85
|
-%} />
|
|
86
|
+
{%- else -%}
|
|
87
|
+
<link rel="stylesheet" href="/assets/css/tools.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
|
|
88
|
+
endif -%} />
|
|
88
89
|
{%- endif -%}
|
|
89
90
|
{%- if site.monumetricId -%}
|
|
90
|
-
<link rel="stylesheet" href="/assets/css/responsive.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
|
|
91
|
-
-%} />
|
|
91
|
+
<link rel="stylesheet" href="/assets/css/responsive.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
|
|
92
|
+
endif -%} />
|
|
92
93
|
{%- endif -%}
|
|
93
94
|
|
|
94
95
|
<meta data-rh="true" property="og:image" content="{{site.url}}{{favicon}}" />
|
|
@@ -206,4 +207,6 @@
|
|
|
206
207
|
{%- include monumetric/monumetric.html -%}
|
|
207
208
|
{%- endif -%}
|
|
208
209
|
|
|
210
|
+
{%- include monumetric/ads.html -%}
|
|
211
|
+
|
|
209
212
|
</head>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{% if page.url != '/' %}
|
|
2
|
+
{% if jekyll.environment == 'production' and site.adsId %}
|
|
3
|
+
<script>
|
|
4
|
+
const autoLoadDuration = 5; //In Seconds
|
|
5
|
+
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
|
6
|
+
|
|
7
|
+
const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
|
|
8
|
+
|
|
9
|
+
eventList.forEach(function (event) {
|
|
10
|
+
window.addEventListener(event, triggerScripts, { passive: true })
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
function triggerScripts() {
|
|
14
|
+
runScripts();
|
|
15
|
+
clearTimeout(autoLoadTimeout);
|
|
16
|
+
eventList.forEach(function (event) {
|
|
17
|
+
window.removeEventListener(event, triggerScripts, { passive: true });
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function runScripts() {
|
|
22
|
+
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
|
23
|
+
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
<script type="text/javascript" delay="/assets/js/ads.js"></script>
|
|
28
|
+
{% endif %}
|
|
29
|
+
|
|
30
|
+
{% if jekyll.environment == 'development' and site.adsId %}
|
|
31
|
+
<script>
|
|
32
|
+
const autoLoadDuration = 5; //In Seconds
|
|
33
|
+
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
|
34
|
+
|
|
35
|
+
const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
|
|
36
|
+
|
|
37
|
+
eventList.forEach(function (event) {
|
|
38
|
+
window.addEventListener(event, triggerScripts, { passive: true })
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
function triggerScripts() {
|
|
42
|
+
runScripts();
|
|
43
|
+
clearTimeout(autoLoadTimeout);
|
|
44
|
+
eventList.forEach(function (event) {
|
|
45
|
+
window.removeEventListener(event, triggerScripts, { passive: true });
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function runScripts() {
|
|
50
|
+
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
|
51
|
+
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
</script>
|
|
55
|
+
<script type="text/javascript" delay="/assets/js/ads.js"></script>
|
|
56
|
+
|
|
57
|
+
{% endif %}
|
|
58
|
+
{% endif %}
|
data/assets/js/ads.js
ADDED
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: 2.0.
|
|
4
|
+
version: 2.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- vivek-appscms
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '12.0'
|
|
55
|
-
description:
|
|
55
|
+
description:
|
|
56
56
|
email:
|
|
57
57
|
- vivek@appscms.com
|
|
58
58
|
executables: []
|
|
@@ -116,6 +116,7 @@ files:
|
|
|
116
116
|
- _includes/header/blogHeader.html
|
|
117
117
|
- _includes/header/index.html
|
|
118
118
|
- _includes/languages/languages.html
|
|
119
|
+
- _includes/monumetric/ads.html
|
|
119
120
|
- _includes/monumetric/monumetric.html
|
|
120
121
|
- _includes/nofiletransfer/nofiletransfer.html
|
|
121
122
|
- _includes/paginationBlogPage.html
|
|
@@ -296,6 +297,7 @@ files:
|
|
|
296
297
|
- assets/instagram.svg
|
|
297
298
|
- assets/js/TopScroll.js
|
|
298
299
|
- assets/js/adBlocker.js
|
|
300
|
+
- assets/js/ads.js
|
|
299
301
|
- assets/js/featureResult.js
|
|
300
302
|
- assets/js/googledrive.js
|
|
301
303
|
- assets/js/homeResult.js
|
|
@@ -315,7 +317,7 @@ homepage: https://github.com/Appscms-com/appscms-tools-theme
|
|
|
315
317
|
licenses:
|
|
316
318
|
- MIT
|
|
317
319
|
metadata: {}
|
|
318
|
-
post_install_message:
|
|
320
|
+
post_install_message:
|
|
319
321
|
rdoc_options: []
|
|
320
322
|
require_paths:
|
|
321
323
|
- lib
|
|
@@ -330,8 +332,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
330
332
|
- !ruby/object:Gem::Version
|
|
331
333
|
version: '0'
|
|
332
334
|
requirements: []
|
|
333
|
-
rubygems_version: 3.1.
|
|
334
|
-
signing_key:
|
|
335
|
+
rubygems_version: 3.1.6
|
|
336
|
+
signing_key:
|
|
335
337
|
specification_version: 4
|
|
336
338
|
summary: Appscms theme for all tools
|
|
337
339
|
test_files: []
|