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;
|
||||
}
|
||||
</style>
|
||||
<nav calss="bread-crumbs">
|
||||
<nav class="bread-crumbs">
|
||||
<ol>
|
||||
<li class="site-item">
|
||||
<a href="/">{SITE_TITLE}</a>
|
||||
</li>
|
||||
{ancestorNodes.map(node =>
|
||||
<li>
|
||||
{node.url ?
|
||||
|
||||
@@ -20,7 +20,6 @@ const tree = bonsai ? bonsai.tree : [];
|
||||
<Header title={SITE_TITLE} />
|
||||
<main>
|
||||
<h1>Tag Map</h1>
|
||||
<p><a href="/">{SITE_TITLE}</a></p>
|
||||
<Branch nodes={tree.filter(node => node.text === root)} />
|
||||
</main>
|
||||
<Footer />
|
||||
|
||||
Reference in New Issue
Block a user