Updated navigation links in base HTML template

This commit adds a new link to https://til.notmyidea.org in the navigation and
corrects the check for selected page for articles.
This commit is contained in:
Alexis Métaireau 2023-09-12 16:53:59 +02:00
parent cbba74387d
commit fefcf57ba2

View file

@ -19,9 +19,12 @@
<li><a class="{% if page and page.slug == 'alexis-metaireau' %}selected{% endif %}" href="{{ SITEURL }}/"> <li><a class="{% if page and page.slug == 'alexis-metaireau' %}selected{% endif %}" href="{{ SITEURL }}/">
Alexis Métaireau</a></li> Alexis Métaireau</a></li>
<li> <li>
<a class="{% if page_name == 'index' %}selected{% endif %}" href="{{ SITEURL }}/articles.html" <a class="{% if page_name == 'articles' %}selected{% endif %}" href="{{ SITEURL }}/articles.html"
id="site-title">Articles</a> id="site-title">Articles</a>
</li> </li>
<li>
<a href="https://til.notmyidea.org">Code, etc.</a>
</li>
</section> </section>
{% include 'github.html' %} {% include 'github.html' %}
{% block content %} {% block content %}