cboettig / quarto-material

https://cboettig.github.io/quarto-material/
1 stars 0 forks source link

Cannot customize EJS templates (e.g. for nav items) #3

Open cboettig opened 11 months ago

cboettig commented 11 months ago

Quarto's website output type extends the basic "html" format with a variety of excellent features, including a range of navigation menus (main nav bar, side nav bar, footer, and right-side nav). However, the templates for these layouts are not handled using pandoc templates, but instead rely on embedded javascript templates. This makes sense -- EJS templates look a lot richer than pandoc's templates. Unfortunately, with some small exceptions in the listings ability, these templates are hard-wired into the quarto cli and cannot be easily customized (current ejs website templates are in: https://github.com/quarto-dev/quarto-cli/tree/main/src/resources/projects/website/templates).

Still looking for an easy way to customize templates used to generate menus.

cboettig commented 11 months ago

see further discussion at https://github.com/quarto-dev/quarto-cli/issues/6523, but looking like there's no way to alter EJS templates I think