I'm just throwing this out there and hoping for a good answer.
Has anyone created a function that parses a template file and extracts a list (array) of items that are used? Or do I just always compile and render with all of them and let the page sort 'em out?
Taking another stab at creating my own rendering system... I have something working, but dealing with items is always bringing up one more gotcha.
Thanks
Has anyone created a function that parses a template file and extracts a list (array) of items that are used? Or do I just always compile and render with all of them and let the page sort 'em out?
Taking another stab at creating my own rendering system... I have something working, but dealing with items is always bringing up one more gotcha.
Thanks
Comment