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..0f31816 --- /dev/null +++ b/_includes/navbar.html @@ -0,0 +1,129 @@ + + + diff --git a/_quarto.yml b/_quarto.yml index 2d0c1eb..8592033 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -11,75 +11,22 @@ website: favicon: assets/img/logo.svg open-graph: true twitter-card: true - navbar: - logo: assets/img/logo.svg - logo-alt: "EpiAware" - title: "EpiAware" - search: true - left: - - text: Approaches - menu: - - text: Overview - href: approaches/index.qmd - - text: Composed distributions - href: approaches/composed-distributions.qmd - - text: Composable Turing models - href: approaches/composable-turing-models.qmd - - text: Tutorials - href: tutorials/index.qmd - - text: Docs - href: packages/index.qmd - - text: News - href: news/index.qmd - - text: Gallery - href: gallery.qmd - - text: Guides - menu: - - text: Resources - href: resources.qmd - - text: Using Julia - href: using-julia.qmd - - text: FAQ - href: faq.qmd - - text: Contributing - href: contributing.qmd - - text: Developer docs - href: developer.qmd - - text: Community - menu: - - text: Get involved - href: get-involved.qmd - - text: Team - href: team.qmd - - text: Funding - href: funding.qmd - - text: epinowcast & the forum - href: community.qmd - right: - - icon: discourse - href: https://community.epinowcast.org/ - aria-label: epinowcast community forum - - icon: github - href: https://github.com/EpiAware - aria-label: EpiAware on GitHub - page-footer: - border: true - left: | - EpiAware — a composable Julia ecosystem for infectious disease modelling. - center: - - text: Packages - href: packages/index.qmd - - text: Get involved - href: get-involved.qmd - - text: Funding - href: funding.qmd - right: - - icon: discourse - href: https://community.epinowcast.org/ - aria-label: epinowcast community forum - - icon: github - href: https://github.com/EpiAware - aria-label: GitHub + # Navbar and footer are not configured here: the shared partials in + # _includes/navbar.html and _includes/footer.html are the single source + # of truth for the ecosystem chrome, injected below via + # format.html.include-before-body / include-after-body. The tutorials + # site renders the same partials via a git submodule, so both sites + # share one navbar and footer definition. + # + # `search: true` here is still required even with no navbar/sidebar + # config: it is what makes Quarto emit search.json and the + # site_libs/quarto-search/* assets and JS. The shared navbar partial + # then supplies its own `