mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 19:42:37 +02:00
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:
parent
cbba74387d
commit
fefcf57ba2
1 changed files with 4 additions and 1 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue