Skip to content
Discussion options

You must be logged in to vote

@darthmall @zachleat just found the issue, it was between the screen and the chair again 😆

Turns out things are more simpler and easy, i was building a small sample to show the issue but also reading the docs: https://github.com/sombriks/simple-sample-eleventy/blob/main/08-other-template-languages/src/_includes/base-layout.webc

So if i need to render a meta tag with keywords (so we can please crawlers and other bots) based on my tags, it's as simple as this:

<meta name="keywords" :content="tags.join(',')">

Then eleventy data cascade does the rest of the job!

Thanks for the tips!

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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