jekyll-theme-dummy 0.1.4 → 0.1.5
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/_layouts/default.html +7 -1
- 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: e8db217075dbc48e46653a6435ecf8bee87bc1cca009ab4ce79f36e090752328
|
4
|
+
data.tar.gz: eb1a62524db92b97efc3b6acf540b955f33fdc2ef5952bec008d89aa6be8a6c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeadf5a7699f295f7d40f6c27f4f97a0899e9899f0f26e597b93b9041c88205c32048b5fcdd1d574570a2c9bbcabe1820a27d1787b8424da7d97b0c38514aaa5
|
7
|
+
data.tar.gz: 1abf7f9def2eb06d94f0c2bfc6fc5099955aedb7747706f0f938aeef474b98aafac05204c92f84a58a5b778d8a0d48346016fcd6d6d8ce7ec0343c2f8094ea86
|
data/_layouts/default.html
CHANGED
@@ -4,13 +4,19 @@
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
5
5
|
<link rel="stylesheet" href="https://unpkg.com/@mpan-wework/normalize.min.css@0.0.2/dist/normalize.min.css" />
|
6
6
|
<link rel="icon" href="data:;base64,iVBORw0KGgo=" />
|
7
|
+
{% for css in site.data.browser.css %}
|
8
|
+
<link rel="stylesheet" href="{{ css }}" />
|
9
|
+
{% endfor %}
|
7
10
|
<script src="https://unpkg.com/@mpan-wework/jekyll-theme-manager@0.1.12/dist/index.umd.min.js"></script>
|
8
11
|
<script>
|
9
|
-
const themes = {{ site.data.themes | jsonify }};
|
12
|
+
const themes = {{ site.data.themes | jsonify }} || [];
|
10
13
|
const defaultTheme = themes[new Date().getMinutes() % themes.length];
|
11
14
|
window.JekyllThemeManager.load(themes);
|
12
15
|
window.JekyllThemeManager.use(window.localStorage.getItem('theme') || defaultTheme.key);
|
13
16
|
</script>
|
17
|
+
{% for js in site.data.browser.js %}
|
18
|
+
<script src="{{ js }}"></script>
|
19
|
+
{% endfor %}
|
14
20
|
</head><body>
|
15
21
|
{{ content }}
|
16
22
|
<body></html>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-dummy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Pan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|