Skip to content

Using custom slot in query template #4174

Answered by kasperbolarsen
DonKirkham asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Don,
It sounds like you are looking for something like this:
{{slot item @root.slots.QuickLinkBoxText}}
where QuickLinkBoxText is one of my custom Slots.

You can find additional Layout samples as https://github.com/microsoft-search/pnp-modern-search-layouts/tree/main/Results/Handlebars/ for inspiration :-)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kasperbolarsen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants