dendron-jekyll 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/toc.html +2 -1
- 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: 179dab9eca45698050d57fe443c0fed1ae42388138d69a80f224aa65bce552fc
|
4
|
+
data.tar.gz: 2c09ab175cd91f107bd0e770c8191fc534c7fc6ec4f91281e3e0d60755f66233
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5438a789546185ef3faf861c102a63849388fffe1dbf1e597c9e6212008ce3219dbd67d274c83e4ff85e5d7a0a95d2199665c075de2f52a8645faeca4849ba1b
|
7
|
+
data.tar.gz: a4cdcd5e3a38d0db7a5b7d163df7cb8cd3e28c8b324e13b237cff22fbd29fa045a543ad61bb2f4e3dcfe87f14ba90b64c5d310d876caf2e5176f25901e37926c
|
data/_includes/toc.html
CHANGED
@@ -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
|
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 -%}
|