jekyll-notes 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f33e7721278686ce7d42c10c1b8fe0e91b3d92e6bf9308a1002ba166d1aab674
4
- data.tar.gz: 685cc535b8829f629c696ac12b57cbc7e3ecd52bcee0aa700981e0aa59508e07
3
+ metadata.gz: 6083450ffd9bc1c15c21663217754d260ee5e506d02cd9c73d07beea8a458e1a
4
+ data.tar.gz: cff2a8fb46151ca02ff864b92945c1e676bba25b15e15287359c22cdb8a430cc
5
5
  SHA512:
6
- metadata.gz: d2612ec43fc19d6f2222e2d7723278ee9f43410fd2ef46ea69a1d911a0cbc4b5bb6fdd0191a364444de76590494ec8597391ce7b1abb8ffa75cda7998331a620
7
- data.tar.gz: 1be3550ed06146d0bb29b55e09513439162e2e35ba507c4d7160317ef104b4754175d025a2e363fa77751b32a687b5b7903b211fdea75ed94a9489477bf15c03
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
@@ -72,7 +72,7 @@ ul {
72
72
  *list-style: decimal; /* Keep using default numbering for IE6/7 */
73
73
  font: 15px 'trebuchet MS', 'lucida sans';
74
74
  padding: 0;
75
- margin-bottom: 4em;
75
+ // margin-bottom: 4em;
76
76
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
77
77
 
78
78
  }
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.0
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-12 00:00:00.000000000 Z
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
@@ -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>