Remove debugging code

This commit is contained in:
2020-12-13 11:08:50 +00:00
parent f88e797325
commit b976e6c227
6 changed files with 53 additions and 22 deletions

View File

@@ -14,10 +14,11 @@
<li><a href="https://blog.mgrove.uk">Blog</a></li>
{% assign all_pages = site.pages | sort: "title" %}
{% for project in all_pages %}{% assign project_url_end = project.url| slice: -4, 4 %}
{% for project in all_pages %}
{% assign project_url_end = project.url| slice: -4, 4 %}
{% if project.url != "/" and project.url != "/index.html" and project.url != "/sitemap.xml" and project_url_end != ".css" %}
<li><a href="{{ project.url | relative_url }}" {% if project.url == page.url %} class="current-page-link"
{% endif %}>{{project_url_end}} {{project.url}} {{ project.title }}</a></li>
{% endif %}>{{ project.title }}</a></li>
{% endif %}
{% endfor %}
</ul>