juicelang-theme 0.4.0 → 0.4.1
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/README.md +13 -7
- data/_includes/toc.html +8 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 740c3e556c963c534d68fb31863c36c6a75e6259a087a1d2f7c47ea8a6c1421d
|
|
4
|
+
data.tar.gz: 53d35a1db962f5270352d12aa8aa030f524f715a9b7fd33f75f84efcd1b5f7d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bcd39b926964dfa310bdf7dcf6c6f89d01fbd2aaf3dff8e9a78a83dc09620c314f358bcfa000e0d2eb5432955991078d44dce676376a04a070082c8a32c4dc2
|
|
7
|
+
data.tar.gz: c512e7499709b099e8b8f29a271ed4e72d0c0ae990b38a2b46ce72698f5f78b3204b8e711a7e73a2956cfc266894e074a616f18d5c274654af179f3b2999cfd1
|
data/README.md
CHANGED
|
@@ -8,28 +8,34 @@ This is the theme of the website of the *juice* programming language ([juicelang
|
|
|
8
8
|
Add this line to your Jekyll site's `Gemfile`:
|
|
9
9
|
|
|
10
10
|
```ruby
|
|
11
|
-
gem "juicelang-theme"
|
|
11
|
+
gem "juicelang-theme", "~> 0.4", group: :jekyll_plugins
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
And add
|
|
14
|
+
And add the following lines to your Jekyll site's `_config.yml`:
|
|
15
15
|
|
|
16
16
|
```yaml
|
|
17
17
|
theme: juicelang-theme
|
|
18
|
+
plugins:
|
|
19
|
+
- juicelang-theme
|
|
18
20
|
```
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
Then execute:
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
```bash
|
|
25
|
+
$ bundle install
|
|
26
|
+
```
|
|
23
27
|
|
|
24
|
-
Or install
|
|
28
|
+
Or install the gem yourself using:
|
|
25
29
|
|
|
26
|
-
|
|
30
|
+
```bash
|
|
31
|
+
$ gem install juicelang-theme
|
|
32
|
+
```
|
|
27
33
|
|
|
28
34
|
## Development
|
|
29
35
|
|
|
30
36
|
To set up your environment to develop this theme, run `bundle install`.
|
|
31
37
|
|
|
32
|
-
|
|
38
|
+
To test this theme, run `bundle exec jekyll serve --watch` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test this theme's contents. As you make modifications to this theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
|
33
39
|
|
|
34
40
|
## License
|
|
35
41
|
|
data/_includes/toc.html
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
<div
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
{% unless page.no_toc %}
|
|
2
|
+
<div class="sidebar-right uk-visible@l">
|
|
3
|
+
<div uk-sticky="offset: 175">
|
|
4
|
+
<ul class="uk-nav uk-nav-default" uk-scrollspy-nav="closest: li; scroll: true; offset: 175">
|
|
5
|
+
{% toc %}
|
|
6
|
+
</ul>
|
|
7
|
+
</div>
|
|
6
8
|
</div>
|
|
7
|
-
|
|
9
|
+
{% endunless %}
|