dotcomboom / AutoSite

Desktop static site generator
http://autosite.somnolescent.net
MIT License
31 stars 2 forks source link

Pack system #21

Closed dotcomboom closed 4 years ago

dotcomboom commented 4 years ago

Package up parts of your site (any pages, templates, or includes) in a ZIP-based archive that could be then reused in another site. Same directory hierarchy as your average site, just with a meta.xml (or other format) that can be displayed when importing. Example:

in\
  (folder is empty since no pages are in the pack)
templates\
  water.html
includes\
  water.css
meta.xml

Importing screen should show what files will be imported or even better, allow the user to pick which ones to import. Files will be copied relative to site root.

File extension: .asa - AutoSite Archive? .asp would be great but that was used for Active Server Pages a bajillion years ago. And so is .aspx used now.

image Aargh!