Skip to content

How do I display custom front matter keywords in the title-block #12690

Answered by cderv
haxfn asked this question in Q&A
Discussion options

You must be logged in to vote

With some digging I realized I need to hack somewhere around here:
(...)
Could someone guide? How do I make the custom keywords in yml front matter show up on my page?

This is the template used when there is a title-block:
https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/formats/html/templates/title-block.html

There are categories in there.

The other one is the pandoc default one that is used when the html format opt-out some features.

However, I am not sure I fully comprehend what you are trying to do, as you are also mentioning listing, and listing have another template mechanism: https://quarto.org/docs/websites/website-listings-custom.html

So I am unsure which part o…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@haxfn
Comment options

@haxfn

This comment was marked as off-topic.

@mcanouil

This comment was marked as off-topic.

@haxfn

This comment was marked as off-topic.

@mcanouil

This comment was marked as off-topic.

Comment options

You must be logged in to vote
1 reply
@haxfn
Comment options

Answer selected by haxfn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html Issues with HTML and related web technology (html/css/scss/js) themes Related to HTML theming or any other style related issue (like highlight-style)
3 participants