Navigation uses title, not components
commit90769303ec5f2d8853fc50cf43d633a69ae47ccb
authorMatilde Park <matilde@tlon.io>
dateMon 9 Sep 2019, 13:01 (7 years ago)
parentad95c43
templates/page.html+2−2
@@ -11,12 +11,12 @@
1111
1212<!-- header -->
1313<!-- content -->
14−{% if page.components[0] %}
14+{% if page.title %}
1515<nav class="mt6 full fourth-1-md fourth-1-lg">
1616 <a class="gray3" href="/">Urbit</a>
1717 <span class="gray3"> / </span>
1818 <a href="/{{ page.components[0] }}">
19− {{ page.components[0] | capitalize }}
19+ {{ page.title }}
2020 </a>
2121</nav>
2222{% endif %}