jekyll-theme-upskill 0.1.0 → 0.2.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -2
  3. data/_includes/toc.html +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f1971fe1f04214263bb669442747c2b011d3b094f779d73d3888438f1027435
4
- data.tar.gz: 1ec0d7bfcebb49d554bf42a46604da569fbe4ccaf7e176ea272d8621e7bda4d4
3
+ metadata.gz: cb3d31ca2171a9307c682bc01b5f679151d5280b65cde6d5da95864335c1d81f
4
+ data.tar.gz: bd51eb3c6989d951d8fc20d0596d2aec32da14a0410d93ae4183e9b30f734fe2
5
5
  SHA512:
6
- metadata.gz: 6fcb0eb4b4a57827aa2e97192d2d8ace421482f81fe8d358b3649f42663de542e96307ad0b030dde6cbcb96487d1a8a20e71a2e53deb8d826f818d6a192f1b44
7
- data.tar.gz: '0189ca335018c5e27d91a6df0df3316e4aefea91d132debd52a070ca7baf575ed752b9d41ad1ecbd3302008e790d0a7b634158f974c9e83546496cf01e4d4e61'
6
+ metadata.gz: '09ef3d52eb5c139378ea7eeded9e107a92436ce795bfd3872dc45c479590bf391563ae57fe763011573bb3b39692fdd483925adf79d0226803458055153385b0'
7
+ data.tar.gz: '0589d9ad5386a1232d186a81cbf5de3ac55338fa3f72fbc30b9043d32c09ac3f897402d64ff522021861d3e00c958b8c81587b54682829e95cfad04973eacda8'
data/README.md CHANGED
@@ -47,8 +47,10 @@ To generate proper table of content add `sections` sections to your page. Exampl
47
47
 
48
48
  ```yaml
49
49
  sections:
50
- - sec1
51
- - sec2
50
+ - id: sec1
51
+ title: Section 1
52
+ - id: sec2
53
+ title: Section 2
52
54
  ```
53
55
 
54
56
  ## Development
@@ -1,7 +1,7 @@
1
1
  <ul id="toc" class="toc">
2
2
  {% for section in page.sections %}
3
3
  <li>
4
- <a class="toc-link" href="#{{ section }}">Overview</a>
4
+ <a class="toc-link" href="#{{ section.id }}">{{ section.title}}</a>
5
5
  </li>
6
6
  {% endfor %}
7
7
  </ul>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-upskill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Przemysław Pogorzelec