Replies: 2 comments 1 reply
-
No good ones that I can think of - |
Beta Was this translation helpful? Give feedback.
-
Coming from Pandoc, I assumed that the feature is activated and populated via template variables, but I couldn't find anything navbar-related in https://github.com/quarto-dev/quarto-cli/tree/main/src/resources/formats/html/pandoc. I found https://github.com/quarto-dev/quarto-cli/tree/main/src/resources/projects/website/navigation but it only contains This somewhat related to my old #5134. Though I've since abandoned my quest to control everything (Quarto just has too many (great!) features for that), I still wish it would be easier to customize. Maybe I should just copy & adapt the header code
and insert it via |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I would like to activate the website project navbar at the top in a single HTML document (default project, format HTML). In this context it would not be a navigation bar, but describe an institutional setting, e.g. contain a logo and a programme name. The file is to be uploaded to a website which is generally differently managed (Moodle).
I was able to achieve that, but it is very hacky: I do declare a website project in
_quarto.yml
.But then
logo-href: "#"
neutralizes the links enclosing logo and name,search: false
suppresses the site search function,embed-resources: true
makes the HTML file self-contained, and the scriptpost-render.sh
copies only the needed HTML file out of the_site
subdirectory and deletes the subdirectory:Is there a better way to do this?
Btw.,
_site
containssite-libs
despiteembed-resources: true
andsearch.json
despitesearch: false
.Beta Was this translation helpful? Give feedback.
All reactions