|
@@ -2,13 +2,13 @@
|
|
{% if subItem[0] != "_title" %}
|
|
{% if subItem[0] != "_title" %}
|
|
<li>
|
|
<li>
|
|
{% if subItem[1]._title %}
|
|
{% if subItem[1]._title %}
|
|
- <a href="#{{ subItem[0] }}">{{ subItem[1]._title }}</a>
|
|
|
|
|
|
+ <a href="#{{ subItem[0] }}">{{ subItem[1]._title | markdownify | remove: '<p>' | remove: '</p>' }}</a>
|
|
<ul>
|
|
<ul>
|
|
{% assign subItems = subItem[1] %}
|
|
{% assign subItems = subItem[1] %}
|
|
{% include tocSubItems.html %}
|
|
{% include tocSubItems.html %}
|
|
</ul>
|
|
</ul>
|
|
{% else %}
|
|
{% else %}
|
|
- <a href="#{{ subItem[0] }}">{{ subItem[1] }}</a>
|
|
|
|
|
|
+ <a href="#{{ subItem[0] }}">{{ subItem[1] | markdownify | remove: '<p>' | remove: '</p>' }}</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
</li>
|
|
</li>
|
|
{% endif %}
|
|
{% endif %}
|