Replies: 2 comments 1 reply
-
(3.) for a moment I was also considering to swap out the yaml parser entirely (or find a way to hook into the "post-parse" state of the data processing pipeline), but from what I can tell there is no easy way to do this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
also, similar to #1468 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi,
eleventy
noob here. I would like to programmatically add tags to posts. after spending a couple of hours and only half getting there (related: #926), I'm not sure how to continue.basically I want to extract all inline
#hashtags
from the markdown content and add them to the list of tags from the frontmatter.I tried two things (all based on https://github.com/11ty/eleventy-base-blog):
./posts/posts.11tydata.js
:the problems:
data
does not seem to contain the markdown content, so I'd have to read the markdown file myself again to be able to extract any tagshttp://localhost:8080/tags/
lists the injected tag, buthttp://localhost:8080/tags/asdf
does not work..eleventy.js
:problems:
http://localhost:8080/tags/asdf
still does not workwhat's the correct way to achieve this?
thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions