From 4ddbaddddb753a46a8d00aa36881b57976db2688 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Wed, 27 Aug 2025 21:25:05 +0200 Subject: [PATCH] refactor: :wrench: add `theme` option in `_quarto.yml`, and `brand` for Seedcase --- template/_quarto.yml.jinja | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/template/_quarto.yml.jinja b/template/_quarto.yml.jinja index 91a2562..1fc4571 100644 --- a/template/_quarto.yml.jinja +++ b/template/_quarto.yml.jinja @@ -1,4 +1,5 @@ project: + # TODO: change to extension name if using a custom extension type: website # Delete auto-generated files from `quartodoc` post-render: rm -f docs/reference/*.qmd @@ -72,9 +73,20 @@ metadata-files: - docs/reference/_sidebar.yml format: - {{ "seedcase-theme-html" if is_seedcase_project else "html" }}: - include-before-body: - - "docs/site-counter.html" + {% if is_seedcase_project -%} + seedcase-theme-html: + theme: + - brand + {%- else -%} + # TODO: Use Quarto extension if available + html: + theme: + # TODO: Choose a different theme if desired + - litera + {%- endif %} + # TODO: Uncomment if using the goatcounter website visitor counter + # include-before-body: + # - "includes/site-counter.html" editor: markdown: