pentandra / lifepreserver

Source for Pentandra's philosophical website
https://pentandra.com/
Other
3 stars 1 forks source link

Move preprocessing helpers that create items to data sources #86

Open cdchapman opened 5 years ago

cdchapman commented 5 years ago

It would be nice to isolate the helpers that are only used in pre (and post) processing, either by locating all the code within the preprocessing block, or putting these functions in a sub-namespace. That way they won't be imported into the general Nanoc context.

cdchapman commented 4 years ago

It appears that all of these preprocessing helpers need access to the Nanoc::Core::Context, so this may be trickier than I thought and perhaps not worth it.

cdchapman commented 4 years ago

Most of these item-creating helpers should be moved to data sources. This would get rid of the awkwardness this issue is about.