You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having trouble understanding the documentation. I'm trying to add variables that I create in my generator into specific blog posts. Is there a way to parse a blog post to retrieve something like a url, then use that url (to ping an api for example) in the generator to return another value that is then added to that blog post?
The text was updated successfully, but these errors were encountered:
The generators are called after the read step so you should be able to look through site.posts and do whatever you need in your generator's generate method. To add variables, add them to the post.data hash!
Having trouble understanding the documentation. I'm trying to add variables that I create in my generator into specific blog posts. Is there a way to parse a blog post to retrieve something like a url, then use that url (to ping an api for example) in the generator to return another value that is then added to that blog post?
The text was updated successfully, but these errors were encountered: