Update pagelist.md
This commit is contained in:
+4
-6
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user