diff --git a/about.njk b/about.njk index f76b6c8..7d708c8 100644 --- a/about.njk +++ b/about.njk @@ -2,7 +2,7 @@ layout: layouts/base.njk title: About eleventyComputed: - permalink: "{% set aboutPageExists = false %}{% for page in collections.pages %}{% if page.url == '/about/' %}{% set aboutPageExists = true %}{% endif %}{% endfor %}{% if aboutPageExists %}false{% else %}/about/{% endif %}" + permalink: "{% set aboutPageExists = false %}{% for page in collections.pages %}{% if page.fileSlug == 'about' %}{% set aboutPageExists = true %}{% endif %}{% endfor %}{% if aboutPageExists %}false{% else %}/about/{% endif %}" ---