Update pagelist.md

This commit is contained in:
johndmulhausen
2016-03-01 23:46:52 -08:00
parent 51e7fcabe3
commit 8336737e95
+4 -6
View File
@@ -1,16 +1,15 @@
---
---
The following is a list of all pages for {{ page.version }}. We also have a [`sitemap.xml`](/sitemap.xml) file.
The following is a list of all pages for this site. We also have a [`sitemap.xml`](/sitemap.xml) file.
{% for page in site.pages %}
{% if page.url contains page.version %}
{% assign foundTOC=false %}
{% assign pageTOC=false %}
{% for thistoc in site.data[page.versionfilesafe].globals.tocs %}
{% for thistoc in site.data.globals.tocs %}
{% if foundTOC %}
{% break %}
{% else %}
{% assign tree = site.data[page.versionfilesafe][thistoc].toc %}
{% assign tree = site.data[thistoc].toc %}
{% include tocsearch.html %}
{% if foundTOC %}
{% assign pageTOC = thistoc %}
@@ -18,5 +17,4 @@ The following is a list of all pages for {{ page.version }}. We also have a [`si
{% endif %}
{% endfor %}
* {% if pageTOC %}**[{{ pageTOC | capitalize }}](/{%if pageTOC != "guides"%}{{pageTOC}}/{%endif%})**: {% endif %}[{% if page.title %}{{page.title}}{% else %}{{ page.url }}{% endif %}]({{ page.url }})
{% endif %}
{% endfor %}
{% endfor %}