-
DescriptionI have created a Quarto website to showcase various example galleries. I want to add a data source link on the right side of each page whenever applicable. Each data source is stored in the GitHub repository under the Is there a convenient way to automate adding these data source links? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Beta Was this translation helpful? Give feedback.
-
I noticed that Quarto supports Since the directory structure is consistent, I’m wondering if there is a convenient way to add this link by modifying only the YAML header of each page. |
Beta Was this translation helpful? Give feedback.
-
Code links are cool and I had missed those. I frequently define functions to make special html inclusions easy. For example in R:
Then in the Quarto document I'll have something like
Where |
Beta Was this translation helpful? Give feedback.
Use the tools I suggested with a CSS rule to hide the title or create your own HTML partial to handle everything yourself.
You can also write some JavaScript to rearrange the DOMs but that's beyond the scope of Quarto's support.
edit:
Accessibility: To improve accessibility, please add alternative text to your screenshots. This helps all users, including those using screen readers, to understand the context of the images. A brief description can make a big difference! See Good Alt Text, Bad Alt Text — Making Your Content Perceivable.