jacobobryant / platypub

A publishing platform built with Biff
MIT License
65 stars 13 forks source link

Add a file to themes with sample data #67

Open jacobobryant opened 2 years ago

jacobobryant commented 2 years ago

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.