Fix bug where sitemap was shown in project list

This commit is contained in:
mg committed 2020-12-13 11:04:14 +00:00
1 parent b580c0e080
commit 7cc86c0f37
7 files changed
+40 -2

No files matched your search

+2 -1
View File
@@ -30,7 +30,8 @@
<div class="highlights">
{% for project in all_pages %}
{% if project.url != "/" and project.url != "/index.html" and project.url != "/sitemap.xml" %}
{% assign project_url_end = project.url | slice: -4, -1 %}
{% if project.url != "/" and project.url != "/index.html" and project.url != "/sitemap.xml" and project_url_end != ".css" %}
<section>
<div class="content">
<header>