From c8945f99df8d6149b23c296b4b23273043b5d8e3 Mon Sep 17 00:00:00 2001 From: Carlos Scheidegger Date: Wed, 27 Nov 2024 11:24:58 -0700 Subject: [PATCH] configure create themes to have less precedence than brand --- src/resources/projects/book/templates/_quarto.ejs.yml | 4 +++- src/resources/projects/website/templates/_quarto.ejs.yml | 4 +++- .../projects/website/templates/blog/_quarto-blog.ejs.yml | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/resources/projects/book/templates/_quarto.ejs.yml b/src/resources/projects/book/templates/_quarto.ejs.yml index 4ed8997690..f8ecfd6009 100644 --- a/src/resources/projects/book/templates/_quarto.ejs.yml +++ b/src/resources/projects/book/templates/_quarto.ejs.yml @@ -15,7 +15,9 @@ bibliography: references.bib format: html: - theme: cosmo + theme: + - cosmo + - brand pdf: documentclass: scrreprt diff --git a/src/resources/projects/website/templates/_quarto.ejs.yml b/src/resources/projects/website/templates/_quarto.ejs.yml index c82eca2456..735e209c32 100644 --- a/src/resources/projects/website/templates/_quarto.ejs.yml +++ b/src/resources/projects/website/templates/_quarto.ejs.yml @@ -11,7 +11,9 @@ website: format: html: - theme: cosmo + theme: + - cosmo + - brand css: styles.css toc: true diff --git a/src/resources/projects/website/templates/blog/_quarto-blog.ejs.yml b/src/resources/projects/website/templates/blog/_quarto-blog.ejs.yml index bd4bee2bd9..13a927599d 100644 --- a/src/resources/projects/website/templates/blog/_quarto-blog.ejs.yml +++ b/src/resources/projects/website/templates/blog/_quarto-blog.ejs.yml @@ -12,7 +12,9 @@ website: href: https://twitter.com format: html: - theme: cosmo + theme: + - cosmo + - brand css: styles.css <% if(editor){ %>editor: <%= editor %><% } %>