dendron-jekyll 0.3.6 → 0.3.7

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/toc.html +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19fb5d5a91f00719d14a7ec7d4e8dbf61c89f95f0c25db606c810962ed153e83
4
- data.tar.gz: fcd99cf8b0b15059588ca61ec48dcab4134c02a7afb099cf215fd93f5e3b9caf
3
+ metadata.gz: 179dab9eca45698050d57fe443c0fed1ae42388138d69a80f224aa65bce552fc
4
+ data.tar.gz: 2c09ab175cd91f107bd0e770c8191fc534c7fc6ec4f91281e3e0d60755f66233
5
5
  SHA512:
6
- metadata.gz: '08317371deef5c93be5f6bac4181a4ed9bf5e0d0e5155cdada66825fd435f6f469b4015479339744615cebb7a45899b3a51fc7dc7683b8c6925ddaf3cd57135a'
7
- data.tar.gz: b5362a9d4224e95be9459d03a32cffd74e01ee655d28975c23ae891a54a2244abf1add8aca4181b150bbc45f3f206b09147170909a6818f5f922c20d179b7f67
6
+ metadata.gz: 5438a789546185ef3faf861c102a63849388fffe1dbf1e597c9e6212008ce3219dbd67d274c83e4ff85e5d7a0a95d2199665c075de2f52a8645faeca4849ba1b
7
+ data.tar.gz: a4cdcd5e3a38d0db7a5b7d163df7cb8cd3e28c8b324e13b237cff22fbd29fa045a543ad61bb2f4e3dcfe87f14ba90b64c5d310d876caf2e5176f25901e37926c
@@ -2,8 +2,9 @@
2
2
  {%- if tocNodes.size > 0 -%}
3
3
  <hr>
4
4
  <h2 class="text-delta">Table of contents</h2>
5
+ {%- assign sorted_nodes = tocNodes | sort_natural:"title" -%}
5
6
  <ul>
6
- {%- for tocNode in tocNodes -%}
7
+ {%- for tocNode in sorted_nodes -%}
7
8
  <li>
8
9
  <a href="{{ tocNode.url | absolute_url }}">{{ tocNode.title }}</a>
9
10
  {%- if tocNode.summary -%}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dendron-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Lin