diff --git a/allpagelinks.md b/allpagelinks.md index 038f96fcb7b..31962b4d686 100644 --- a/allpagelinks.md +++ b/allpagelinks.md @@ -3,7 +3,7 @@ title: All Page Links hide_from_sitemap: true --- -{% assign sorted_pages = site.pages | sort:"path" %} -{% for thispage in sorted_pages %} -- [{{thispage.path}}]({{thispage.path}}) - {{ thispage.title }} +{% assign pages = site.pages | sort:"path" %} +{% for page in pages %} +- [{{page.url}}]({{page.url}}) - {{ page.title }} {% endfor %}