From c4bca0358912bd0034a07732399a483fa7653250 Mon Sep 17 00:00:00 2001 From: seabbs-bot Date: Thu, 6 Aug 2026 14:27:23 +0100 Subject: [PATCH 1/3] feat: shared navbar/footer HTML partials (single source for ecosystem chrome) Hand-rolled Bootstrap navbar and footer matching the site's config-driven chrome, as the single source the separate tutorials site renders via a submodule rather than duplicating. Includes a tiny active-state script. --- _includes/footer.html | 26 +++++++++++++ _includes/navbar.html | 89 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 _includes/footer.html create mode 100644 _includes/navbar.html diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..cdfc50a --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,26 @@ + + diff --git a/_includes/navbar.html b/_includes/navbar.html new file mode 100644 index 0000000..4233400 --- /dev/null +++ b/_includes/navbar.html @@ -0,0 +1,89 @@ + + + From e7933260f4b99f74913fb4a11ac4718b8583757b Mon Sep 17 00:00:00 2001 From: seabbs-bot Date: Thu, 6 Aug 2026 15:55:57 +0100 Subject: [PATCH 2/3] feat: rename Docs nav to Packages, reorder before Tutorials; add Sebastian Funk to team - navbar 'Docs' -> 'Packages', moving it ahead of 'Tutorials' (applies to the main _quarto.yml and the shared navbar.html partial so the tutorials submodule stays in step) - team page: add Sebastian Funk (github.com/sbfnk, scoringrules work) --- _includes/navbar.html | 6 +++--- _quarto.yml | 4 ++-- team.qmd | 11 +++++++++++ 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/_includes/navbar.html b/_includes/navbar.html index 4233400..92321a9 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -23,12 +23,12 @@
  • Composable Turing models
  • + - diff --git a/_quarto.yml b/_quarto.yml index 2d0c1eb..69c09cf 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -25,10 +25,10 @@ website: href: approaches/composed-distributions.qmd - text: Composable Turing models href: approaches/composable-turing-models.qmd + - text: Packages + href: packages/index.qmd - text: Tutorials href: tutorials/index.qmd - - text: Docs - href: packages/index.qmd - text: News href: news/index.qmd - text: Gallery diff --git a/team.qmd b/team.qmd index a6bb019..fd27e75 100644 --- a/team.qmd +++ b/team.qmd @@ -19,6 +19,17 @@ is credited in that package's repository. Maintainer · [LSHTM](https://www.lshtm.ac.uk/aboutus/people/abbott.sam) ::: ::: + +::: {.team-card} +[![](https://github.com/sbfnk.png?size=200){fig-alt="Sebastian Funk"}](https://github.com/sbfnk) + +::: {.name} +[Sebastian Funk](https://github.com/sbfnk) +::: +::: {.role} +Maintainer · LSHTM +::: +::: ::: ## Contributors From 8ce9933adc85269808f84757a0bff96b679313d7 Mon Sep 17 00:00:00 2001 From: seabbs-bot Date: Mon, 10 Aug 2026 12:28:22 +0100 Subject: [PATCH 3/3] feat: wire main site to shared navbar/footer partials The config navbar/page-footer in _quarto.yml duplicated _includes/navbar.html and _includes/footer.html, and the two had already drifted (different Tutorials target). Make the partials the only chrome definition, consumed by both this site and the tutorials site's submodule copy. - Remove website.navbar and website.page-footer from _quarto.yml; inject the partials via format.html.include-before-body/ include-after-body instead. - Add website.search: true so Quarto still emits search.json and the quarto-search JS/assets with no navbar/sidebar config driving them. - Add a `#quarto-search` div to navbar.html; quarto-search.js hydrates any element with that id regardless of where it lives in the DOM. Each site sets search: true independently, so results stay per-site. - Extend the active-link script to match location.pathname against each nav link's own absolute href on the main site (previously only the tutorials host got active-state handling), including dropdown parents. - Add Sebastian Funk's LSHTM profile link to team.qmd, matching Sam Abbott's card (verified 200: lshtm.ac.uk/aboutus/people/ funk.sebastian). Verified with a full `quarto render`: exactly one navbar and one footer per page at every depth (root, approaches/, news/posts/), search.json/site_libs/quarto-search assets present, nav/footer/logo links resolve correctly at depth (Quarto rewrites the root-relative logo src per page depth; nav links are already absolute so they are unaffected by depth). --- _includes/navbar.html | 42 ++++++++++++++++++++- _quarto.yml | 87 +++++++++---------------------------------- team.qmd | 2 +- 3 files changed, 60 insertions(+), 71 deletions(-) diff --git a/_includes/navbar.html b/_includes/navbar.html index 92321a9..0f31816 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -7,6 +7,14 @@ EpiAware EpiAware + +