appscms-tools-theme 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/post.html +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15f57ed0f27144633d7fa89e1e7db3771579d19fed5eb24637601cd8de642e18
|
4
|
+
data.tar.gz: 0f244555c7f5d5afb031c8069587e35ecf0e0f2aac41a126e12e3278e075dc5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75ee3b7b3b2aff5f0577e66cefc4621557937b56d02f0a8b6cfc5efc90901b8c6f917c9fda45aa4e86dbe385fc708520dd2964e11f27c56943bfaaf55528d183
|
7
|
+
data.tar.gz: 20053f11cc45d1db1cabb8ddea5cc0bbb8e5504eec88048392a32b1d04672b14fcfeaa4114584d9fbf9a48f3f125830aafed2f5bf007e9c6017db4bdfde00850
|
data/_layouts/post.html
CHANGED
@@ -131,6 +131,15 @@
|
|
131
131
|
{% include script.html %}
|
132
132
|
<script src="{{ '/assets/js/TopScroll.js' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
133
133
|
-%}></script>
|
134
|
+
{%- if site.crossorigin -%}
|
135
|
+
<script>
|
136
|
+
const getImages = document.getElementsByTagName('img')
|
137
|
+
Array.from(getImages).map(item => {
|
138
|
+
item.crossOrigin = 'anonymous'
|
139
|
+
})
|
140
|
+
</script>
|
141
|
+
{%- endif -%}
|
142
|
+
|
134
143
|
</body>
|
135
144
|
|
136
145
|
</html>
|
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.5.
|
4
|
+
version: 1.5.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-11-
|
11
|
+
date: 2021-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|