mirror of
https://github.com/BreizhHardware/lefrenchmathproject.git
synced 2026-01-18 16:37:32 +01:00
fuck site nav
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
- text: Home
|
||||
url: /
|
||||
- text: Courses
|
||||
url: /courses/
|
||||
- text: Exercices
|
||||
url: /exercises/
|
||||
- text: Méthodes
|
||||
url: /methods/
|
||||
@@ -1,17 +0,0 @@
|
||||
{% assign navurl = page.url | remove: 'index.html' %}
|
||||
<ul>
|
||||
{% for item in include.nav %}
|
||||
<li>
|
||||
<a href="{{ item.url }}">
|
||||
{% if item.url == navurl %}
|
||||
<b>{{ item.text }}</b>
|
||||
{% else %}
|
||||
{{ item.text }}
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% if item.subitems and navurl contains item.url %}
|
||||
{% include nav.html nav=item.subitems %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user