M _agora/book-01-the-tragedy-of-open-hardware.md => _agora/book-01-the-tragedy-of-open-hardware.md +1 -0
@@ 2,6 2,7 @@
title: Book I—The Tragedy of Open Hardware
description: A newcomer to the agora with high hopes for computing freedom has some of the subtleties of the problem explained to him by a channel regular.
date: 2020-06-25 00:00:00 UTC
+section: agora
layout: default
---
M _agora/book-02-why-cant-i-compile-all-this-bloat.md => _agora/book-02-why-cant-i-compile-all-this-bloat.md +1 -0
@@ 2,6 2,7 @@
title: Book II—Why Can’t I Compile All This Bloat?
description: The newcomer returns to the agora in hopes of instruction on how to compile software, something with which many of the regulars are familiar—except that he wants to do it on a 16-bit operating system.
date: 2020-07-09 00:00:00 UTC
+section: agora
layout: default
---
M _agora/book-03-daemons-at-the-gateway-part-01.md => _agora/book-03-daemons-at-the-gateway-part-01.md +1 -0
@@ 2,6 2,7 @@
title: Book III—Daemons at the Gateway—Part 1
description: Glaucon returns to the agora in the hopes of restoring a bygone age of internet social media, and Socrates explains to him how the spirit of the past endures in both culture and technology.
date: 2020-07-23 00:00:00 UTC
+section: agora
layout: default
---
M _agora/book-04-daemons-at-the-gateway-part-02.md => _agora/book-04-daemons-at-the-gateway-part-02.md +1 -0
@@ 2,6 2,7 @@
title: Book IV—Daemons at the Gateway—Part 2
description: Socrates' lesson on internet routing continues, with the demonstration of something much closer to a real-world BGP-routed IPv4 network internet.
date: 2020-08-06 00:00:00 UTC
+section: agora
layout: default
---
M _guides/picking-a-distro.md => _guides/picking-a-distro.md +1 -0
@@ 1,5 1,6 @@
---
title: Picking a GNU+Linux distribution
+section: guides
layout: guide
authors: [
"Patrick 'tyil' Spek <p.spek@tyil.work>",
M _guides/playing-zun-touhou-games-on-gnu-linux-with-wine.md => _guides/playing-zun-touhou-games-on-gnu-linux-with-wine.md +1 -0
@@ 1,5 1,6 @@
---
layout: guide
+section: guides
title: Playing ZUN Touhou games on GNU/Linux with wine
authors: [
"apt-get"
M _guides/visual-novels-on-gnu-linux.md => _guides/visual-novels-on-gnu-linux.md +1 -0
@@ 1,5 1,6 @@
---
title: Playing visual novels on GNU/Linux with Wine
+section: guides
layout: guide
authors: [
apt-get
M _includes/navigation.html => _includes/navigation.html +5 -6
@@ 1,26 1,25 @@
-{% assign current = page.url | split: '/' %}
<li class="nav-item">
- <a class="nav-link{% if page.index %} active{% endif %}" href="{{ "/" | prepend: site.baseurl }}">
+ <a class="nav-link {% if page.section == 'home' %}active{% endif %}" href="{{ "/" | prepend: site.baseurl }}">
Home
</a>
</li>
<li class="nav-item">
- <a class="nav-link{% if current[1] == 'guides.html' %} active{% endif %}" href="{{ "/guides.html" | prepend: site.baseurl }}">
+ <a class="nav-link {% if page.section == 'guides' %}active{% endif %}" href="{{ "/guides.html" | prepend: site.baseurl }}">
Guides
</a>
</li>
<li class="nav-item">
- <a class="nav-link{% if current[1] == 'irc.html' %} active{% endif %}" href="{{ "/irc.html" | prepend: site.baseurl }}">
+ <a class="nav-link {% if page.section == 'irc' %}active{% endif %}" href="{{ "/irc.html" | prepend: site.baseurl }}">
IRC
</a>
</li>
<li class="nav-item">
- <a class="nav-link{% if current[1] == 'agora.html' or current[1] == 'agora' %} active{% endif %}" href="{{ "/agora.html" | prepend: site.baseurl }}">
+ <a class="nav-link {% if page.section == 'agora' %}active{% endif %}" href="{{ "/agora.html" | prepend: site.baseurl }}">
Agora
</a>
</li>
<li class="nav-item">
- <a class="nav-link{% if current[1] == 'resources.html' %} active{% endif %}" href="{{ "/resources.html" | prepend: site.baseurl }}">
+ <a class="nav-link {% if page.section == 'resources' %}active{% endif %}" href="{{ "/resources.html" | prepend: site.baseurl }}">
Resources
</a>
</li>
M agora.md => agora.md +1 -0
@@ 1,5 1,6 @@
---
title: Agora
+section: agora
layout: default
rss: /rss/agora.xml
---
M guides.html => guides.html +1 -0
@@ 1,5 1,6 @@
---
title: Guides
+section: guides
layout: default
---
M index.md => index.md +1 -0
@@ 1,5 1,6 @@
---
index: true
+section: home
layout: default
---
M irc.md => irc.md +1 -0
@@ 1,6 1,7 @@
---
title: IRC
permalink: /irc.html
+section: irc
layout: default
---
M resources.md => resources.md +1 -0
@@ 1,5 1,6 @@
---
title: Resources
+section: resources
layout: default
---