rm: site home from ancestry locations -- just made it a node instead and the home page is always in the header anyway; also, fix a typo.
This commit is contained in:
@@ -27,11 +27,8 @@ const ancestorNodes = ancestors.map(n => tree.find(tn => tn.text == n));
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<nav calss="bread-crumbs">
|
<nav class="bread-crumbs">
|
||||||
<ol>
|
<ol>
|
||||||
<li class="site-item">
|
|
||||||
<a href="/">{SITE_TITLE}</a>
|
|
||||||
</li>
|
|
||||||
{ancestorNodes.map(node =>
|
{ancestorNodes.map(node =>
|
||||||
<li>
|
<li>
|
||||||
{node.url ?
|
{node.url ?
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ const tree = bonsai ? bonsai.tree : [];
|
|||||||
<Header title={SITE_TITLE} />
|
<Header title={SITE_TITLE} />
|
||||||
<main>
|
<main>
|
||||||
<h1>Tag Map</h1>
|
<h1>Tag Map</h1>
|
||||||
<p><a href="/">{SITE_TITLE}</a></p>
|
|
||||||
<Branch nodes={tree.filter(node => node.text === root)} />
|
<Branch nodes={tree.filter(node => node.text === root)} />
|
||||||
</main>
|
</main>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
|||||||
Reference in New Issue
Block a user