minddust / minddust.github.io

www.minddust.com
100 stars 82 forks source link

Auto-generating category files #9

Open josephpconley opened 7 years ago

josephpconley commented 7 years ago

Hi, have you found a way to auto-generate the content in the _my_tags and _my_categories folders? As long as it works locally the same effect could be achieved as the files would be committed to source code and Github Pages is none the wiser. I'm new to Ruby/Jekyll so I'm not sure where to start, I get the sense that the plugin examples I've seen generate content in _site, which isn't what we want.

Thanks!

minddust commented 7 years ago

hey joe, not 100% sure what you mean? if this is still an active question pls be more precise. otherwise i will close this issue by the end of the week. cheers stephan

josephpconley commented 7 years ago

I'm wondering if it's possible to write a Ruby plugin which inspects all of my posts, generates a set of all of the tags used in those posts, and then create the appropriate slug files under the _my_tags directory. This way, when I write new posts that have new tags, the plugin would capture that automatically.