Display tags on posts within post list #1982
Answered
by
cfjedimaster
ashrobbins
asked this question in
Q&A
-
Hi, I'm new to Eleventy and I would like to display the tags each post has within the post list - is this possible? I have tried using the following but it doesn't output anything.
|
Beta Was this translation helpful? Give feedback.
Answered by
cfjedimaster
Sep 24, 2021
Replies: 1 comment 8 replies
-
You need to use item.data.tags, not item.tags. That worked for me. |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
ashrobbins
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to use item.data.tags, not item.tags. That worked for me.