jekyll-notes 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -0
- data/assets/css/main.scss +1 -1
- metadata +2 -3
- data/_includes/sidebar.html.bak +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6083450ffd9bc1c15c21663217754d260ee5e506d02cd9c73d07beea8a458e1a
|
4
|
+
data.tar.gz: cff2a8fb46151ca02ff864b92945c1e676bba25b15e15287359c22cdb8a430cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26e00bbbae5cf69fa54fe3faf91dd7e8a298c1e08f353ebcfd54508c0a66930e9c872a29a7cad6a0cb2e9ac623abe8d1d3c1e3652467a735eea64e59f6168976
|
7
|
+
data.tar.gz: 90a3ca39c624e2527b4ec04fef24991327db3ece3d8ff6f5250f1f0912a52208bb1ae8adc0fd1847552be0edbf94231708b9132ad5d3445850629bf968a494c8
|
data/README.md
CHANGED
@@ -11,6 +11,38 @@ The .md files with "layout: default" would appear at Notes page submenu.
|
|
11
11
|
|
12
12
|
## Installing
|
13
13
|
|
14
|
+
### Using gem
|
15
|
+
|
16
|
+
Gemfile
|
17
|
+
```yaml
|
18
|
+
gem "jekyll-notes"
|
19
|
+
```
|
20
|
+
|
21
|
+
_config.yml
|
22
|
+
```yaml
|
23
|
+
theme: jekyll-notes
|
24
|
+
|
25
|
+
collections:
|
26
|
+
sections:
|
27
|
+
output: false
|
28
|
+
chapters:
|
29
|
+
output: true
|
30
|
+
```
|
31
|
+
|
32
|
+
Run `bundle install`
|
33
|
+
|
34
|
+
Create _chapters folder and make .md files inside.
|
35
|
+
|
36
|
+
```yaml
|
37
|
+
---
|
38
|
+
layout: default
|
39
|
+
---
|
40
|
+
```
|
41
|
+
|
42
|
+
Change index.markdown from `layout: home` to `layout: default`
|
43
|
+
|
44
|
+
## Installing using jekyll-remote-theme
|
45
|
+
|
14
46
|
1. Edit Gemfile
|
15
47
|
```yaml
|
16
48
|
group :jekyll_plugins do
|
data/assets/css/main.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-notes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AlexZ005
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -95,7 +95,6 @@ files:
|
|
95
95
|
- _includes/header.html
|
96
96
|
- _includes/scripts.html
|
97
97
|
- _includes/sidebar.html
|
98
|
-
- _includes/sidebar.html.bak
|
99
98
|
- _includes/social.html
|
100
99
|
- _includes/toc.html
|
101
100
|
- _layouts/chapter.html
|
data/_includes/sidebar.html.bak
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
|
2
|
-
<div class="sidebar">
|
3
|
-
<div class="sidebar-main">
|
4
|
-
|
5
|
-
<h1>Chapters</h1>
|
6
|
-
<button onclick="CollapsibleLists.apply()">Collapse/Expand</button>
|
7
|
-
|
8
|
-
<ul class="posts">
|
9
|
-
{% for chapter in site.chapters %}
|
10
|
-
<li>
|
11
|
-
<a class="post-link" href="{{ chapter.url | prepend: site.baseurl }}">{{ chapter.path }}</a>
|
12
|
-
</li>
|
13
|
-
{% endfor %}
|
14
|
-
</ul>
|
15
|
-
|
16
|
-
<ul class="collapsibleList" id="renderList">
|
17
|
-
<li>
|
18
|
-
Parent item
|
19
|
-
<ul>
|
20
|
-
<li>Child item</li>
|
21
|
-
<li>Child item</li>
|
22
|
-
</ul>
|
23
|
-
</li>
|
24
|
-
<li>
|
25
|
-
Parent item
|
26
|
-
<ul>
|
27
|
-
<li>Child item</li>
|
28
|
-
<li>Child item</li>
|
29
|
-
</ul>
|
30
|
-
</li>
|
31
|
-
</ul>
|
32
|
-
|
33
|
-
</div>
|
34
|
-
</div>
|