aboutsummaryrefslogtreecommitdiff
path: root/_layouts/default.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_layouts/default.html63
1 files changed, 31 insertions, 32 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 704525b..cbc7eb0 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -36,42 +36,41 @@
<body>
<header>
<nav>
- <div id="nav-left">
+ <div class="nav-row">
<a href="{% link {{ site.t.articles.url[page.lang] }} %}">&lt;web&gt;EuAndreh&lt;/web&gt;</a>
- </div>
- <div id="nav-right">
- {% if page.ref != nil %}
- <ul>
- {% assign lposts=site.posts | where:"ref", page.ref | sort: 'lang' %}
- {% for lpost in lposts %}
- <li>
- <a href="{{ lpost.url }}" class="{{ lpost.lang }}">{{ lpost.lang }}</a>
- </li>
- {% endfor %}
-
- {% if page.ref == "root" %}
- {% assign lpages=site.pages | where:"ref", "index" | sort: 'lang' %}
- {% else %}
- {% assign lpages=site.pages | where:"ref", page.ref | sort: 'lang' %}
- {% endif %}
- {% for lpage in lpages %}
- <li>
- <a href="{{ lpage.url }}" class="{{ lpage.lang }}">{{ lpage.lang }}</a>
- </li>
- {% endfor %}
-
- {% assign ltils=site.tils | where:"ref", page.ref | sort: 'lang' %}
- {% for ltil in ltils %}
- <li>
- <a href="{{ ltil.url }}" class="{{ ltil.lang }}">{{ ltil.lang }}</a>
- </li>
- {% endfor %}
- </ul>
- {% endif %}
<a href="{% link {{ site.t.tils.url[page.lang] }} %}">{{ site.t.tils.name[page.lang] }}</a>
<a href="{% link {{ site.t.slides.url[page.lang] }} %}">{{ site.t.slides.name[page.lang] }}</a>
- <a href="{% link {{ site.t.pages.about.url[page.lang] }} %}">{{ site.t.pages.about.name[page.lang] }}</a>
+ <a href="{% link {{ site.t.pastebins.url[page.lang] }} %}">{{ site.t.pastebins.name[page.lang] }}</a>
+ <a href="{% link {{ site.t.about.url[page.lang] }} %}">{{ site.t.about.name[page.lang] }}</a>
</div>
+ {% if page.ref != nil %}
+ <ul>
+ {% assign lposts=site.posts | where:"ref", page.ref | sort: 'lang' %}
+ {% for lpost in lposts %}
+ <li>
+ <a href="{{ lpost.url }}" class="{{ lpost.lang }}">{{ lpost.lang }}</a>
+ </li>
+ {% endfor %}
+
+ {% if page.ref == "root" %}
+ {% assign lpages=site.pages | where:"ref", "index" | sort: 'lang' %}
+ {% else %}
+ {% assign lpages=site.pages | where:"ref", page.ref | sort: 'lang' %}
+ {% endif %}
+ {% for lpage in lpages %}
+ <li>
+ <a href="{{ lpage.url }}" class="{{ lpage.lang }}">{{ lpage.lang }}</a>
+ </li>
+ {% endfor %}
+
+ {% assign ltils=site.tils | where:"ref", page.ref | sort: 'lang' %}
+ {% for ltil in ltils %}
+ <li>
+ <a href="{{ ltil.url }}" class="{{ ltil.lang }}">{{ ltil.lang }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
</nav>
</header>