File Structure

Written By Luke Wakefield

Last updated 2 months ago

See general module folder strucutre for folder structure in common with all modules:

modules-folder-structure-introduction.md

Blog module layouts may contain optional extra files for components like author lists, categories etc.

Replace "custom_example" with the name of your own custom layout. You can add as many of these as you like to the module_3 folder.

There is also a form directory for storing form layouts for front-end module/ author item submission.

Example
└───marketplace_builder └───views └───partials └───modules β”œβ”€β”€β”€module_3 β”‚ β”‚ collection.liquid β”‚ β”‚ β”‚ β”œβ”€β”€β”€custom_example β”‚ β”‚ β”œβ”€β”€β”€archive β”‚ β”‚ β”‚ sidebar.liquid β”‚ β”‚ β”‚ sidebar_years.liquid β”‚ β”‚ β”‚ sidebar_years_and_date_search.liquid β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€author β”‚ β”‚ β”‚ β”œβ”€β”€β”€detail β”‚ β”‚ β”‚ β”‚ item.liquid β”‚ β”‚ β”‚ β”‚ wrapper.liquid β”‚ β”‚ β”‚ └───list β”‚ β”‚ β”‚ item.liquid β”‚ β”‚ β”‚ wrapper.liquid β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€categories β”‚ β”‚ β”‚ └───list β”‚ β”‚ β”‚ item.liquid β”‚ β”‚ β”‚ wrapper.liquid β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€detail β”‚ β”‚ β”‚ item.liquid β”‚ β”‚ β”‚ wrapper.liquid β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€β”€list β”‚ β”‚ β”‚ item.liquid β”‚ β”‚ β”‚ wrapper.liquid β”‚ β”‚ β”‚ β”‚ β”‚ └───sidebar β”‚ β”‚ search.liquid β”‚ β”‚ wrapper.liquid β”‚ β”‚ β”‚ └───form β”‚ default.liquid β”‚ └───module_6 β”‚ collection.liquid β”‚ β”œβ”€β”€β”€detail β”‚ β”‚ item.liquid β”‚ β”‚ wrapper.liquid β”‚ └───list β”‚ item.liquid β”‚ wrapper.liquid └───form default.liquid