dskinner / damsel-python

Markup Language featuring html outlining via css-selectors, embedded python, and extensibility.
MIT License
43 stars 3 forks source link

pass arg to include for limiting selection #13

Open dskinner opened 13 years ago

dskinner commented 13 years ago

it might be helpful to be able to pass an arg to builtin include that specifies which top-level blocks to include, ignoring the rest.

This stems from noticing a need to abstract out certain reusable blocks into seperate files for reuse in many places, but the creation of so many files with little bits of information creates confusion. Typically, it seems there is a particular page that outlines the majority of these blocks for use there, and reuse elsewhere. Workflow might be simplified with this addition as well as keeping the original work contained in its more intended usage, and removing the file cruft.