How to reference metadata from _quarto.yml in html? #6748
-
DescriptionHow to Import data from project:
type: website
output-dir: _site
website:
sidebar:
style: 'floating'
I want to introduce website.sidebar.style in the HTML file But doesn't it work if I write like this? {{< meta website.sidebar.style >}}
or qmd file? ---
title: 'title'
author: 'zsc'
date: '2023-09-22'
---
{{< meta website.sidebar.style >}}
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Currently the project level namespaces like Can you say a bit more about what you're trying to do - we can maybe find a way to better support the effort... |
Beta Was this translation helpful? Give feedback.
-
Thank you. I would like to write a template and read variable information from the |
Beta Was this translation helpful? Give feedback.
-
I don't really want to create a new |
Beta Was this translation helpful? Give feedback.
-
Okay, thank you, I hope to use it someday |
Beta Was this translation helpful? Give feedback.
For many variables, this should be possible, but it isn't currently possible for keys under
website
orbook
.