···11+# Importing existing files to standard.site records
22+33+The sitebase import commands allow you to import existing static site content into `standard.site` records in your PDS.
44+55+## Requirements for importing
66+77+- File(s) targeted must be either markdown or html, with YAML-formatter frontmatter
88+- Must have `contentType`, `title`, `path` and `date` properties
99+ - Make these are specifiable in import CLI flags
1010+ - Ex: `--titleProp=title`, `--publishedAtProp=date`, `--pathProp=route`
1111+ - `--contentType=(markdown|html)`
1212+- Also optionally support `--descriptionProp`, and `--tagsProp`
1313+1414+## Import process
1515+1616+- Use the cli [sitebase doc import](./cli.md) command.
1717+1818+***
1919+2020+# TODO
2121+2222+- Refine this doc, make it nicer
2323+- Ensure the command doc in ./cli.md aligns
2424+2525+# QUESTIONS
2626+2727+### Support both `doc import` and `pub import`?
2828+2929+Just worry about `doc import` for now. It can target multiple files if needed.
3030+3131+### Do pretty much all SSGs work with files that have frontmatter data? I think so!
3232+3333+Enough so that I'm not worried about outliers