I have followed the instructions to render my minimal Quarto website on Netlify using the Quarto Netlify Build Plugin:
I use a light and dark theme. Strangely, the search icon and UI are missing on the light theme only (they are available in the dark theme) when published on Netlify. In contrast, the icon and UI are present when I render the website locally.
I am lost in what is causing this issue. The netlify.toml file seems the most relevant:
[build.processing]
skip_processing = false
[build.processing.css]
bundle = true
minify = true
[build.processing.js]
bundle = true
minify = true
[build.processing.html]
pretty_urls = true
[build.processing.images]
compress = true
[[plugins]]
package = "@quarto/netlify-plugin-quarto"
[[plugins]]
package = "netlify-plugin-a11y"
[plugins.inputs]
# Do not fail the build if a11y issues are found
resultMode = "warn"
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
# Do not fail the build if any issues with links are found
todoPatterns = [
"load",
]
[[plugins]]
package = "netlify-plugin-inline-critical-css"
Here is the source code and rendered website (GitHub/website).
How can I best troubleshoot what is causing the missing search icon and UI, especially since it only affects the light but not the dark theme? I would greatly appreciate any pointers.
Locally I am using Quarto v1.2.313, and it renders correctly. The Quarto Netlify Build plugin uses the latest release, which is also v1.2.313. I tried to change the plugin to use the newest pre-release, but could not get it to work. I decided to switch to GitHub Actions for CI for now (using also the latest release) and it rendered the the search button correctly.