Fix typoi

This commit is contained in:
2020-12-13 11:08:02 +00:00
parent 7cc86c0f37
commit f88e797325
7 changed files with 23 additions and 54 deletions

View File

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

View File

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

View File

@@ -64,28 +64,22 @@
<li><a href="/young-reporter/" >ter/ /young-reporter/ BBC Young Reporter Article Generator</a></li>
<li><a href="/young-reporter/" >BBC Young Reporter Article Generator</a></li>
<li><a href="/comsci/" class="current-page-link" <li><a href="/comsci/" class="current-page-link"
>Computer Science</a></li> >sci/ /comsci/ Computer Science</a></li>
<li><a href="/luhn-algorithm/" >thm/ /luhn-algorithm/ Luhn Algorithm</a></li>
<li><a href="/luhn-algorithm/" >Luhn Algorithm</a></li>
<li><a href="/site-theme/" >eme/ /site-theme/ Site Theme</a></li>
<li><a href="/site-theme/" >Site Theme</a></li>
</ul> </ul>

View File

@@ -64,27 +64,21 @@
<li><a href="/young-reporter/" >ter/ /young-reporter/ BBC Young Reporter Article Generator</a></li>
<li><a href="/young-reporter/" >BBC Young Reporter Article Generator</a></li>
<li><a href="/comsci/" >sci/ /comsci/ Computer Science</a></li>
<li><a href="/comsci/" >Computer Science</a></li>
<li><a href="/luhn-algorithm/" >thm/ /luhn-algorithm/ Luhn Algorithm</a></li>
<li><a href="/luhn-algorithm/" >Luhn Algorithm</a></li>
<li><a href="/site-theme/" >eme/ /site-theme/ Site Theme</a></li>
<li><a href="/site-theme/" >Site Theme</a></li>
</ul> </ul>

View File

@@ -64,28 +64,22 @@
<li><a href="/young-reporter/" >ter/ /young-reporter/ BBC Young Reporter Article Generator</a></li>
<li><a href="/young-reporter/" >BBC Young Reporter Article Generator</a></li>
<li><a href="/comsci/" >sci/ /comsci/ Computer Science</a></li>
<li><a href="/comsci/" >Computer Science</a></li>
<li><a href="/luhn-algorithm/" class="current-page-link" <li><a href="/luhn-algorithm/" class="current-page-link"
>Luhn Algorithm</a></li> >thm/ /luhn-algorithm/ Luhn Algorithm</a></li>
<li><a href="/site-theme/" >eme/ /site-theme/ Site Theme</a></li>
<li><a href="/site-theme/" >Site Theme</a></li>
</ul> </ul>

View File

@@ -64,28 +64,22 @@
<li><a href="/young-reporter/" >ter/ /young-reporter/ BBC Young Reporter Article Generator</a></li>
<li><a href="/young-reporter/" >BBC Young Reporter Article Generator</a></li>
<li><a href="/comsci/" >sci/ /comsci/ Computer Science</a></li>
<li><a href="/comsci/" >Computer Science</a></li>
<li><a href="/luhn-algorithm/" >thm/ /luhn-algorithm/ Luhn Algorithm</a></li>
<li><a href="/luhn-algorithm/" >Luhn Algorithm</a></li>
<li><a href="/site-theme/" class="current-page-link" <li><a href="/site-theme/" class="current-page-link"
>Site Theme</a></li> >eme/ /site-theme/ Site Theme</a></li>
</ul> </ul>

View File

@@ -64,28 +64,22 @@
<li><a href="/young-reporter/" class="current-page-link" <li><a href="/young-reporter/" class="current-page-link"
>BBC Young Reporter Article Generator</a></li> >ter/ /young-reporter/ BBC Young Reporter Article Generator</a></li>
<li><a href="/comsci/" >sci/ /comsci/ Computer Science</a></li>
<li><a href="/comsci/" >Computer Science</a></li>
<li><a href="/luhn-algorithm/" >thm/ /luhn-algorithm/ Luhn Algorithm</a></li>
<li><a href="/luhn-algorithm/" >Luhn Algorithm</a></li>
<li><a href="/site-theme/" >eme/ /site-theme/ Site Theme</a></li>
<li><a href="/site-theme/" >Site Theme</a></li>
</ul> </ul>