appscms-tools-theme 2.0.6 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/head/index.html +4 -1
- data/_includes/monumetric/profitablecpmgate.html +52 -0
- data/_includes/script.html +5 -0
- data/_layouts/feature.html +4 -4
- data/_layouts/home.html +2 -2
- data/assets/js/append-div.js +10 -0
- data/assets/js/theme.js +11 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f3bbff18f2fb3ee31213bf0e9c706157b240c165b1f9ee4c5a551008365516a
|
4
|
+
data.tar.gz: d8ee9b8ebb6bc5ebee74ae1a0fef84ba589a62bd727f0fd3208c702ebde45fd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5586bf1c0f00b58ac0e9a13db70737c037cd53bc1b3734197d7edea16bbf8edea7e8c654f6b8b0a55a9bf4d3e2ce9a9f3d42bf1f0588a1be082618b19e9d11d5
|
7
|
+
data.tar.gz: b14d9a3db3e803a0c4e483ebd63570cf40f70b435739ef3f17f21a3933b0ac1f27e5445f149796e84b0df8c84fb4ad6d491ac887bdf1d61198ba051f0e53330c
|
data/_includes/head/index.html
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
{% elsif page.layout == "termAndCondition" %}
|
51
51
|
<title>{{site.name}} - Terms and conditions | {{title}}</title>
|
52
52
|
{% elsif page.layout == "disclaimer" %}
|
53
|
-
<title>{{site.name}} - Disclaimer | {{
|
53
|
+
<title>{{site.name}} - Disclaimer | {{title}}</title>
|
54
54
|
{% elsif page.layout == "privacyPolicy" %}
|
55
55
|
<title>{{site.name}} - Privacy policy | {{title}}</title>
|
56
56
|
{% elsif page.layout == "contactUs" %}
|
@@ -208,5 +208,8 @@
|
|
208
208
|
{%- endif -%}
|
209
209
|
|
210
210
|
{%- include monumetric/ads.html -%}
|
211
|
+
{%- if page.layout == "feature" or page.layout == "home" -%}
|
212
|
+
{%- include monumetric/profitablecpmgate.html -%}
|
213
|
+
{%- endif -%}
|
211
214
|
|
212
215
|
</head>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
{% if page.url != '/' %}
|
2
|
+
{% if jekyll.environment == 'production' and site.profitablecpmgateId %}
|
3
|
+
<script>
|
4
|
+
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
5
|
+
eventList.forEach(function (event) {
|
6
|
+
window.addEventListener(event, triggerScripts, { passive: true })
|
7
|
+
});
|
8
|
+
|
9
|
+
function triggerScripts() {
|
10
|
+
runScripts();
|
11
|
+
eventList.forEach(function (event) {
|
12
|
+
window.removeEventListener(event, triggerScripts, { passive: true });
|
13
|
+
});
|
14
|
+
}
|
15
|
+
|
16
|
+
function runScripts() {
|
17
|
+
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
18
|
+
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
19
|
+
});
|
20
|
+
}
|
21
|
+
</script>
|
22
|
+
<script type="text/javascript" delay="/assets/js/append-div.js"></script>
|
23
|
+
<script async="async" type="text/javascript" data-cfasync="false"
|
24
|
+
delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js"></script>
|
25
|
+
{% endif %}
|
26
|
+
|
27
|
+
{% if jekyll.environment == 'development' and site.profitablecpmgateId %}
|
28
|
+
<script>
|
29
|
+
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
30
|
+
eventList.forEach(function (event) {
|
31
|
+
window.addEventListener(event, triggerScripts, { passive: true })
|
32
|
+
});
|
33
|
+
|
34
|
+
function triggerScripts() {
|
35
|
+
runScripts();
|
36
|
+
eventList.forEach(function (event) {
|
37
|
+
window.removeEventListener(event, triggerScripts, { passive: true });
|
38
|
+
});
|
39
|
+
}
|
40
|
+
|
41
|
+
function runScripts() {
|
42
|
+
document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
|
43
|
+
scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
|
44
|
+
});
|
45
|
+
}
|
46
|
+
</script>
|
47
|
+
<script type="text/javascript" delay="/assets/js/append-div.js"></script>
|
48
|
+
<script async="async" type="text/javascript" data-cfasync="false"
|
49
|
+
delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js"></script>
|
50
|
+
|
51
|
+
{% endif %}
|
52
|
+
{% endif %}
|
data/_includes/script.html
CHANGED
@@ -4,6 +4,11 @@
|
|
4
4
|
{%- assign $folderName = '$folderName' -%}
|
5
5
|
<script defer="defer" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" {%- if site.crossorigin
|
6
6
|
-%} {{ }} crossorigin {%- endif -%}></script>
|
7
|
+
{%- if site.safeui -%}
|
8
|
+
code
|
9
|
+
{%- endif -%}
|
10
|
+
<script src="/assets/js/theme.js"></script>
|
11
|
+
|
7
12
|
<script defer="defer" src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
|
8
13
|
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
|
9
14
|
{{site.data.customcdns.customcdns.jsfiles}}
|
data/_layouts/feature.html
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
{% include header/index.html %}
|
11
11
|
{%- if site.safeui -%}
|
12
12
|
<div class="alert alert-{{featureData.variant | default: 'info'}} alert-dismissible fade show text-center"
|
13
|
-
role="alert">
|
13
|
+
role="alert" id="safeui-alert">
|
14
14
|
<div class="container">
|
15
15
|
<img src="/assets/secure.svg" height="23px" width="18px" alt="secure" {%- if site.crossorigin -%}
|
16
16
|
crossorigin {%- endif -%}>
|
@@ -67,16 +67,16 @@
|
|
67
67
|
</div>
|
68
68
|
</div>
|
69
69
|
{%- if site.noFeatureBox == true -%}
|
70
|
-
<div class="feature-content-box">
|
70
|
+
<div class="feature-content-box" id="theme-content-box">
|
71
71
|
{{content}}
|
72
72
|
</div>
|
73
73
|
{%- else -%}
|
74
74
|
{%- if page.noBox == true -%}
|
75
|
-
<div class="feature-content-box">
|
75
|
+
<div class="feature-content-box" id="theme-content-box">
|
76
76
|
{{content}}
|
77
77
|
</div>
|
78
78
|
{%- else -%}
|
79
|
-
<div class="box-padding">
|
79
|
+
<div class="box-padding" id="theme-content-box">
|
80
80
|
<div class="d-flex" id="__cond-922051">
|
81
81
|
<div class="flex-container">
|
82
82
|
<div class="flex-class">
|
data/_layouts/home.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
<body>
|
10
10
|
{% include header/index.html %}
|
11
11
|
{%- if homeData.nofileupload -%}
|
12
|
-
<div class="alert alert-{{homeData.variant | default: 'info'}} alert-dismissible fade show text-center"
|
12
|
+
<div id="safeui-alert" class="alert alert-{{homeData.variant | default: 'info'}} alert-dismissible fade show text-center"
|
13
13
|
role="alert">
|
14
14
|
<div class="container"> <img src="/assets/secure.svg" height="23px" width="18px" alt="secure" {%- if
|
15
15
|
site.crossorigin -%} crossorigin {%- endif -%}>
|
@@ -85,7 +85,7 @@
|
|
85
85
|
</div>
|
86
86
|
{%- endif -%}
|
87
87
|
{%- endif -%}
|
88
|
-
<div class="home-content-box">
|
88
|
+
<div class="home-content-box" id="theme-content-box">
|
89
89
|
{{content}}
|
90
90
|
</div>
|
91
91
|
{%- if homeData.TEXTUAL_CONTENT -%}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
function insertAfter(referenceNode, newNode) {
|
4
|
+
referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling)
|
5
|
+
}
|
6
|
+
let themeContentBox = document.getElementById('theme-content-box')
|
7
|
+
const div = document.createElement('div')
|
8
|
+
const profitablecpmgateId = '{{site.profitablecpmgateId}}'
|
9
|
+
div.setAttribute('id', `container-${profitablecpmgateId}`)
|
10
|
+
insertAfter(themeContentBox, div)
|
data/assets/js/theme.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.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -118,6 +118,7 @@ files:
|
|
118
118
|
- _includes/languages/languages.html
|
119
119
|
- _includes/monumetric/ads.html
|
120
120
|
- _includes/monumetric/monumetric.html
|
121
|
+
- _includes/monumetric/profitablecpmgate.html
|
121
122
|
- _includes/nofiletransfer/nofiletransfer.html
|
122
123
|
- _includes/paginationBlogPage.html
|
123
124
|
- _includes/paginationPostPage.html
|
@@ -298,12 +299,14 @@ files:
|
|
298
299
|
- assets/js/TopScroll.js
|
299
300
|
- assets/js/adBlocker.js
|
300
301
|
- assets/js/ads.js
|
302
|
+
- assets/js/append-div.js
|
301
303
|
- assets/js/featureResult.js
|
302
304
|
- assets/js/googledrive.js
|
303
305
|
- assets/js/homeResult.js
|
304
306
|
- assets/js/manifest.json
|
305
307
|
- assets/js/multiselect.js
|
306
308
|
- assets/js/redirectResult.js
|
309
|
+
- assets/js/theme.js
|
307
310
|
- assets/linkdin.svg
|
308
311
|
- assets/noserverupload.svg
|
309
312
|
- assets/pdf.svg
|