Fix table of contents for hugo

Hugo has some hardcoded checks that have to be fulfilled in its Table of
Contents extraction workflow (helpers/content ExtractTOC). It's easier this
way...
This commit is contained in:
Niklas Fasching 2018-12-26 18:53:31 +01:00
parent 940b1c7125
commit d3d3b6c593
4 changed files with 34 additions and 65 deletions

View file

@ -1,10 +1,8 @@
<nav>
<ul>
<li>
<a href="#headline-1">Using some footnotes</a>
<li><a href="#headline-1">Using some footnotes</a>
</li>
<li>
<a href="#headline-2">Footnotes</a>
<li><a href="#headline-2">Footnotes</a>
</li>
</ul>
</nav>