jekyll_flexible_include 2.0.24 → 2.0.25
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/CHANGELOG.md +5 -0
- data/README.md +32 -0
- data/jekyll_flexible_include_plugin.gemspec +1 -1
- data/lib/flexible_include/version.rb +1 -1
- data/lib/flexible_include_private_methods.rb +2 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1c41e1810d12f5452b662944c1903eff7b04d944497ce8565e9bd0f7cf42902
|
4
|
+
data.tar.gz: b5b8592e381e6e5b494018e340cc5e59c8f4422195e719c5c60e9e7252ca37f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b49278506aa5230d915bd2bd919c94e5fa111cf1c5414ae0b1cf4d961e12a510b4b22904b50e9bb21b596784cea498a0f982a90c4a443db9fa0b5817cb00fae
|
7
|
+
data.tar.gz: 3bd38e8915a07260bd17d8eab24c35671b1c7067e9d556cb1b76b9fd75c6c11e471e434f1177cd5dd4b40553bc0fd6addfe19de28ce4cd69d179b599b658d4c2
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -185,6 +185,8 @@ and a red error message will be logged on the console that says something like:
|
|
185
185
|
|
186
186
|
## Installation
|
187
187
|
|
188
|
+
### Gem
|
189
|
+
|
188
190
|
1. Add the following to `Gemfile`, inside the `jekyll_plugins` group:
|
189
191
|
|
190
192
|
```ruby
|
@@ -213,6 +215,36 @@ and a red error message will be logged on the console that says something like:
|
|
213
215
|
$ bundle
|
214
216
|
```
|
215
217
|
|
218
|
+
### CSS and Assets
|
219
|
+
|
220
|
+
Copy assets and CSS from the demo/ directory of the jekyll_pre GitHub project.
|
221
|
+
|
222
|
+
- Copy `demo/assets/images/clippy.svg` to a directory of the same name in your Jekyll project.
|
223
|
+
- Copy `demo/assets/css/jekyll_plugin_support.css` to your Jekyll project assets directory.
|
224
|
+
- Copy `demo/assets/css/shared_include_pre.css` to your Jekyll project assets directory.
|
225
|
+
- Copy `demo/assets/css/jekyll_flexible_include.css` to your Jekyll project assets directory.
|
226
|
+
- Incorporate the CSS stylesheets into the appropriate layout in your Jekyll project:
|
227
|
+
|
228
|
+
```html
|
229
|
+
{% assign nowMillis = site.time | date: '%s' %}
|
230
|
+
<link rel="stylesheet" href="{{ '/assets/css/jekyll_plugin_support.css?v=' | append: nowMillis }}" type="text/css">
|
231
|
+
<link rel="stylesheet" href="{{ '/assets/css/shared_include_pre.css?v=' | append: nowMillis }}" type="text/css">
|
232
|
+
<link rel="stylesheet" href="{{ '/assets/css/jekyll_flexible_include.css?v=' | append: nowMillis }}" type="text/css">
|
233
|
+
```
|
234
|
+
|
235
|
+
|
236
|
+
### JavaScript
|
237
|
+
|
238
|
+
Copy `demo/assets/js/clipboard.min.js` from the `jekyll_flexible_include_plugin` GitHub project
|
239
|
+
to your Jekyll project’s JavaScript directory.
|
240
|
+
|
241
|
+
Modify the Jekyll layout or selected pages to load the JavaScript.
|
242
|
+
You can load it from your project, as shown below, or from a CDN.
|
243
|
+
|
244
|
+
```html
|
245
|
+
<script defer src="/assets/js/clipboard.min.js"></script>
|
246
|
+
```
|
247
|
+
|
216
248
|
|
217
249
|
## Examples
|
218
250
|
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
35
35
|
spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
|
36
36
|
spec.version = JekyllFlexibleIncludePluginVersion::VERSION
|
37
37
|
|
38
|
-
spec.add_dependency 'jekyll_from_to_until'
|
38
|
+
spec.add_dependency 'jekyll_from_to_until', '>= 1.0.5'
|
39
39
|
spec.add_dependency 'jekyll_plugin_support', '>= 1.0.3'
|
40
40
|
spec.add_dependency 'jekyll-sass-converter', '= 2.2.0'
|
41
41
|
spec.add_dependency 'rugged'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_flexible_include
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Slinn
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jekyll_from_to_until
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 1.0.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
28
|
+
version: 1.0.5
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: jekyll_plugin_support
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
|
-
rubygems_version: 3.5.
|
124
|
+
rubygems_version: 3.5.23
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: Jekyll plugin supports various ways to include content into the generated
|