|
1 | | -<br/> |
2 | | -<br/> |
3 | | -<sectionid="{{ include.id }}"> |
4 | | -<aclass="button edit-docs"href="{{ include.editPath }}/{{ include.file }}"> |
5 | | -<iclass="fa fa-pencil fa-fw"></i> |
6 | | -<spanclass="network-name">Edit</span> |
7 | | -</a> |
8 | | -<h2>{{ include.title }}</h2> |
9 | | -<div>{{ include.content }}</div> |
| 1 | +<sectionid="docs"> |
| 2 | + |
| 3 | +<divclass="doc-contents"> |
| 4 | +<h2>Contents</h2> |
| 5 | +{% for doc in site.categories[include.category] reversed %} |
| 6 | +{% include table-of-contents.html |
| 7 | +link=doc.link |
| 8 | +title=doc.title |
| 9 | +index=forloop.index |
| 10 | +%} |
| 11 | +{% endfor %} |
| 12 | +</div> |
| 13 | + |
| 14 | +<hr/> |
| 15 | + |
| 16 | +<!-- Docs --> |
| 17 | +<div> |
| 18 | +{% for doc in site.categories[include.category] reversed %} |
| 19 | +{% include doc.html |
| 20 | +link=doc.link |
| 21 | +title=doc.title |
| 22 | +content=doc.content |
| 23 | +editPath=include.category |
| 24 | +file=doc.file |
| 25 | +index=forloop.index |
| 26 | +%} |
| 27 | +{% endfor %} |
| 28 | +</div> |
| 29 | + |
10 | 30 | </section> |