platypub icon indicating copy to clipboard operation
platypub copied to clipboard

Add a file to themes with sample data

Open jacobobryant opened this issue 3 years ago • 0 comments
trafficstars

If a theme has an input.edn file (i.e. committed to the git repo, not the input.edn file that platypub generates), treat it as sample data. When you create a new site with that theme, populate the db with the sample data. Sample data files will also be useful for doing theme development with ./task dev in the theme folder, but that already works.

jacobobryant avatar Aug 29 '22 19:08 jacobobryant