diff options
| -rw-r--r-- | 404.md | 1 | ||||
| -rw-r--r-- | _includes/git-wiki/components/lists/page-list.html | 10 | ||||
| -rw-r--r-- | searchdata.js | 1 | ||||
| -rw-r--r-- | sitemap_full.xml | 1 |
4 files changed, 8 insertions, 5 deletions
@@ -1,6 +1,7 @@ --- permalink: /404.html layout: null +is_wiki_page: false --- <!-- redirect to page creator if not exists --> diff --git a/_includes/git-wiki/components/lists/page-list.html b/_includes/git-wiki/components/lists/page-list.html index 5fb118d..dea6758 100644 --- a/_includes/git-wiki/components/lists/page-list.html +++ b/_includes/git-wiki/components/lists/page-list.html @@ -7,15 +7,15 @@ }} updated) {% endif %}:</span> <ul class="page-list"> {% assign numPages=0 %} - {% assign items = site.pages | sort: 'date' %} - {% for post in items %} + {% assign items = site.html_pages | sort: 'date' %} + {% for page in items %} {% if numPages >= site.show_wiki_pages_limit %} {% break %} {% endif %} - - {% if post.layout != "null" and post.sitemap != false and post.title %} + {% if page.is_wiki_page != false and page.sitemap != false %} <li class="page-list-item"> - <a href="{{ post.url | relative_url }}">{{ post.title}}</a> + {% assign title = page.title | default: page.name %} + <a href="{{ page.url | relative_url }}">{{title}}</a> </li> {% assign numPages = numPages | plus: 1 %} {% endif %} diff --git a/searchdata.js b/searchdata.js index bb6eb25..6234099 100644 --- a/searchdata.js +++ b/searchdata.js @@ -1,5 +1,6 @@ --- layout: null +is_wiki_page: false --- var jsondata=[ diff --git a/sitemap_full.xml b/sitemap_full.xml index 5118304..0dc9970 100644 --- a/sitemap_full.xml +++ b/sitemap_full.xml @@ -1,6 +1,7 @@ --- layout: none sitemap: false +is_wiki_page: false --- <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
