chore: README

This commit is contained in:
morelazers 2023-05-02 21:48:10 +02:00
parent cb3ef9dfec
commit 6d9b0264a0

View File

@ -14,11 +14,27 @@
Install %blog with
```
|install ~hanrut-sillet-dachus-tiprel blog
|install ~hanrut-sillet-dachus-tiprel %blog
```
## Export
You can export your %blog with `:blog|export` in the dojo. This will create a folder inside your blog desk called `/export`.
You can export your %blog with `:blog|export %.y` in the dojo. This will create a folder inside your blog desk called `/export`. You can pass `%.n` instead if you don't want the css to appended to the exporte HTML.
To see it, ensure you have mounted the blog desk with `|mount %blog`.
To see it, ensure you have mounted the blog desk with `|mount %blog`.
## Import
After an export (or if you have files from elsewhere), you can import files into %blog. First make sure they have the same structure as an export, it should look something like this in your desk:
```
/blog
/import
/published
/md
/html
/drafts
/themes
```
Then run `-blog!import` in the dojo.