diff --git a/crates/treehouse/src/html/breadcrumbs.rs b/crates/treehouse/src/html/breadcrumbs.rs index 211e940..8438aee 100644 --- a/crates/treehouse/src/html/breadcrumbs.rs +++ b/crates/treehouse/src/html/breadcrumbs.rs @@ -24,7 +24,7 @@ pub fn breadcrumbs_to_html( .unwrap_or_else(|| Cow::Owned(format!("/{element}"))); write!( s, - "{short_element}", + "{short_element}", site = EscapeAttribute(&config.site), element = EscapeAttribute(element) ) diff --git a/static/js/tree.js b/static/js/tree.js index 414f973..5a00037 100644 --- a/static/js/tree.js +++ b/static/js/tree.js @@ -168,7 +168,7 @@ function expandDetailsRecursively(element) { } function navigateToPage(page) { - window.location.pathname = `${page}.html` + window.location.pathname = `${page}` } async function navigateToBranch(fragment) { diff --git a/template/_new.hbs b/template/_new.hbs index d2efad8..648934f 100644 --- a/template/_new.hbs +++ b/template/_new.hbs @@ -11,7 +11,7 @@ {{!-- For /index, include a "new" link that goes to the curated news feed page. --}} {{#if (eq page.tree_path "index")}} - new + new {{/if}} {{/ components/_nav.hbs }} @@ -28,7 +28,7 @@

note that this page does not include any updates that were made to the website itself - for that, you can - visit the changelog. + visit the changelog.

diff --git a/template/_tree.hbs b/template/_tree.hbs index 9dfa2e9..3d51a62 100644 --- a/template/_tree.hbs +++ b/template/_tree.hbs @@ -11,7 +11,7 @@ {{!-- For /index, include a "new" link that goes to the curated news feed page. --}} {{#if (eq page.tree_path "index")}} - new + new {{/if}} {{/ components/_nav.hbs }} diff --git a/template/components/_footer.hbs b/template/components/_footer.hbs index ba5942c..d555660 100644 --- a/template/components/_footer.hbs +++ b/template/components/_footer.hbs @@ -1,5 +1,5 @@