We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21563
    • 5 Posts
    So the plan is to create a library of static resources that can be quickly rolled out into a few standard site structures. A major bottleneck in the process is creating chunks, templates, and snippets and then linking them to the static resources. Before I write my own snippet to do this, I thought I'd ask if something already exists that will crawl a directory and create elements of a certain kind based on the file name, contents, and parent directory of the files found.

    Example: file in /assets/chunks/header.html would be created as a new chunk called "header" using a static media source pointing to that file.

    Thanks in advance!