appscms-tools-theme 5.3.2 → 5.3.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.
@@ -2,14 +2,19 @@
2
2
  else -%}
3
3
  <div class="container heading">
4
4
  <div class="row">
5
- <div
6
- class="col-xxl-8 col-lg-9 col-md-12 col-sm-12 offset-md-1 offset-sm-0 py-3 pt-md-3 pt-sm-3 mx-auto"
7
- >
5
+ <div class="col-xxl-8 col-lg-9 col-md-12 col-sm-12 offset-md-1 offset-sm-0 py-3 pt-md-3 pt-sm-3 mx-auto">
8
6
  {%- if pageData.H1 -%} {%- assign h1 = pageData.H1 -%} {%- elsif
9
7
  pageData.h1 -%} {%- assign h1 = pageData.h1 -%} {%- endif -%} {%- if
10
8
  pageData.H2 -%} {%- assign h2 = pageData.H2 -%} {%- elsif pageData.h2 -%}
11
9
  {%- assign h2 = pageData.h2 -%} {%- endif -%}
12
10
 
11
+
12
+ {%- if site.adsterra_enabled -%}
13
+ <script async="async" data-cfasync="false"
14
+ src="https://pl29135409.profitablecpmratenetwork.com/af8e200646b63440856d2b6560b484a7/invoke.js"></script>
15
+ <div id="container-af8e200646b63440856d2b6560b484a7"></div>
16
+ {%- endif -%}
17
+
13
18
  <h1 class="text-center appscms-h1">
14
19
  {%- for word in h1 -%} {%- if forloop.first == true -%} {{word |
15
20
  capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
@@ -21,4 +26,4 @@ else -%}
21
26
  </div>
22
27
  </div>
23
28
  </div>
24
- {%- endif -%}
29
+ {%- endif -%}
@@ -32,7 +32,12 @@
32
32
  {%- else -%}
33
33
  <div class="how-to-img-wrapper">
34
34
  <img src="{{pageData.HOW_TO_CONTENT.logoImageUrl}}" loading="lazy"
35
- alt="{{pageData.HOW_TO_CONTENT.logoImageAlt | default: 'how to image' }}" {%- if site.crossorigin -%}
35
+ alt="{{ pageData.HOW_TO_CONTENT.logoImageUrl
36
+ | default: 'how to image'
37
+ | split: '/'
38
+ | last
39
+ | split: '.'
40
+ | first }}" {%- if site.crossorigin -%}
36
41
  crossorigin {%- endif -%}class="img-fluid align-self-end" alt="Your Image"
37
42
  style="width: 100%; height: 100%" />
38
43
  </div>
@@ -3,46 +3,21 @@ site.data.[page.folderName][lang][file] %} {%- assign dataAtt =
3
3
  "data-folderName='$folderName' data-lang='$lang' data-fileName='$fileName'
4
4
  data-tool='$tool'" -%} {%- assign $folderName = '$folderName' -%} {%- if
5
5
  site.removeJquery != true -%}
6
- <script
7
- defer
8
- src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"
9
- {%-
10
- if
11
- site.crossorigin
12
- -%}
13
- {{
14
- }}
15
- crossorigin
16
- {%-
17
- endif
18
- -%}
19
- ></script>
6
+ <script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" {%- if site.crossorigin -%} {{ }}
7
+ crossorigin {%- endif -%}></script>
20
8
  {%- endif -%} {%- if site.search -%} {%- if page.layout == "appscms-home" or
21
9
  page.layout == "contenttool-home" -%}
22
- <script
23
- defer
24
- src="/assets/js/appscms-search.js"
25
- crossorigin="anonymous"
26
- ></script>
10
+ <script defer src="/assets/js/appscms-search.js" crossorigin="anonymous"></script>
27
11
  {%- endif -%} {%- if page.layout == "home-1" -%}
28
- <script
29
- defer
30
- src="/assets/js/appscms-search-home1.js"
31
- crossorigin="anonymous"
32
- ></script>
33
- {%- endif -%} {%- endif -%}
12
+ <script defer src="/assets/js/appscms-search-home1.js" crossorigin="anonymous"></script>
13
+ {%- endif -%} {%- endif -%}
34
14
  {%- if page.layout != "content-tool-ai" and page.layout != "ai-image-home" and page.layout != "ai-image-generator" -%}
35
- <script
36
- data-lang="{{page.lang}}"
37
- defer
38
- src="/assets/js/appscms-theme.js"
39
- crossorigin="anonymous"
40
- ></script>
15
+ <script data-lang="{{page.lang}}" defer src="/assets/js/appscms-theme.js" crossorigin="anonymous"></script>
41
16
  {%- endif -%}
42
17
 
43
18
 
44
- {%- if page.layout != "ai-image-home" and page.layout != "ai-image-generator" -%}
45
- <script defer src="/assets/js/appscms-infographics.js"></script>
19
+ {%- if page.layout != "ai-image-home" and page.layout != "ai-image-generator" -%}
20
+ <script defer src="/assets/js/appscms-infographics.js"></script>
46
21
  {%- endif -%}
47
22
 
48
23
  {%- if site.userTrackingCount -%} {%- include customScripts.html -%} {%- endif
@@ -51,87 +26,32 @@ page.layout == "contenttool-home" -%}
51
26
  <script defer src="/assets/js/usageTrackingEvents.js"></script>
52
27
  <script defer src="/assets/js/sharePage.js"></script>
53
28
  {%- endif -%} {%- if site.removeBootstrapJs != true -%}
54
- <script
55
- defer="defer"
56
- src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
57
- integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
58
- crossorigin="anonymous"
59
- ></script>
29
+ <script defer="defer" src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
30
+ integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
60
31
  {%- endif -%} {{site.data.customcdns.customcdns.jsfiles}} {%- if
61
32
  scriptData.jsfilepaths -%} {%- for path in scriptData.jsfilepaths -%} {%- assign
62
33
  asset_dir = path -%} {%- if site.versioning and asset_dir != "" -%} {%- if
63
34
  asset_dir contains "https" and asset_dir contains "https://" -%}
64
- <script
65
- defer
66
- src="{{path}}"
67
- data-folderName="{{page.folderName}}"
68
- data-lang="{{page.lang}}"
69
- data-fileName="{{page.fileName}}"
70
- data-tool="{{page.tool}}"
71
- data-permalink="{{page.permalink}}"
72
- {%-
73
- if
74
- site.crossorigin
75
- -%}
76
- {{
77
- }}
78
- crossorigin
79
- {%-
80
- endif
81
- -%}
82
- ></script>
35
+ <script defer src="{{path}}" data-folderName="{{page.folderName}}" data-lang="{{page.lang}}"
36
+ data-fileName="{{page.fileName}}" data-tool="{{page.tool}}" data-permalink="{{page.permalink}}" {%- if
37
+ site.crossorigin -%} {{ }} crossorigin {%- endif -%}></script>
83
38
  {%- else -%}
84
- <script
85
- defer
86
- src="{% ministamp { source_path: '{{ asset_dir }}', destination_path: '{{ asset_dir }}' } %}"
87
- data-folderName="{{page.folderName}}"
88
- data-lang="{{page.lang}}"
89
- data-fileName="{{page.fileName}}"
90
- data-tool="{{page.tool}}"
91
- data-permalink="{{page.permalink}}"
92
- {%-
93
- if
94
- site.crossorigin
95
- -%}
96
- {{
97
- }}
98
- crossorigin
99
- {%-
100
- endif
101
- -%}
102
- ></script>
39
+ <script defer src="{% ministamp { source_path: '{{ asset_dir }}', destination_path: '{{ asset_dir }}' } %}"
40
+ data-folderName="{{page.folderName}}" data-lang="{{page.lang}}" data-fileName="{{page.fileName}}"
41
+ data-tool="{{page.tool}}" data-permalink="{{page.permalink}}" {%- if site.crossorigin -%} {{ }} crossorigin {%- endif
42
+ -%}></script>
103
43
  {%- endif -%} {%- else -%}
104
- <script
105
- defer
106
- src="{{path}}"
107
- data-folderName="{{page.folderName}}"
108
- data-lang="{{page.lang}}"
109
- data-fileName="{{page.fileName}}"
110
- data-tool="{{page.tool}}"
111
- data-permalink="{{page.permalink}}"
112
- {%-
113
- if
114
- site.crossorigin
115
- -%}
116
- {{
117
- }}
118
- crossorigin
119
- {%-
120
- endif
121
- -%}
122
- ></script>
44
+ <script defer src="{{path}}" data-folderName="{{page.folderName}}" data-lang="{{page.lang}}"
45
+ data-fileName="{{page.fileName}}" data-tool="{{page.tool}}" data-permalink="{{page.permalink}}" {%- if
46
+ site.crossorigin -%} {{ }} crossorigin {%- endif -%}></script>
123
47
  {%- endif -%} {%- endfor -%} {%- endif -%} {%- if scriptData.jscdns -%} {%- for
124
48
  item in scriptData.jscdns -%} {{item | replace:"$folderName", page.folderName |
125
49
  replace: "$fileName", page.fileName | replace: "$lang", page.lang | replace:
126
50
  "$tool", page.tool }} {%- endfor -%} {%- endif -%} {%- assign font = "Inter" -%}
127
51
  {%- if site.removeFontAwesome != true -%}
128
- <link
129
- rel="stylesheet"
130
- href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
52
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
131
53
  integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
132
- crossorigin="anonymous"
133
- referrerpolicy="no-referrer"
134
- />
54
+ crossorigin="anonymous" referrerpolicy="no-referrer" />
135
55
  {%- endif -%} {%- include google-analytics.html -%} {%- if site.bookmark -%} {%-
136
56
  if page.layout == "appscms-feature" -%}
137
57
  <script>
@@ -153,7 +73,7 @@ if page.layout == "appscms-feature" -%}
153
73
  toaster.style.display = "none";
154
74
  }, 10000);
155
75
  </script>
156
- {%- endif -%} {%- endif -%}
76
+ {%- endif -%} {%- endif -%}
157
77
 
158
78
  {%- if site.authentication -%}
159
79
  <script src="https://www.gstatic.com/firebasejs/9.22.0/firebase-app-compat.js"></script>
@@ -164,5 +84,9 @@ if page.layout == "appscms-feature" -%}
164
84
 
165
85
 
166
86
  {%- if page.layout == "ai-image-generator" -%}
167
- <script src="/js/ai-image.generator.js"></script>
87
+ <script src="/js/ai-image.generator.js"></script>
88
+ {%- endif -%}
89
+
90
+ {% if jekyll.environment == 'production' and site.adsterra_enabled %}
91
+ <script src="https://pl29135432.profitablecpmratenetwork.com/cc/4b/59/cc4b598064653e5208319058f7be9a1a.js"></script>
168
92
  {%- endif -%}
@@ -456,7 +456,7 @@
456
456
  document.body.appendChild(overlay);
457
457
 
458
458
  const res = await fetch(
459
- "https://us-central1-appscms-develop.cloudfunctions.net/payment_api/api/v1/payment-routes/image-toolkit-plans"
459
+ "https://us-central1-appscms-develop.cloudfunctions.net/payment_api/api/v1/payment-routes/contenttool-plans"
460
460
  );
461
461
  const data = await res.json();
462
462