blog/README.md

40 lines
948 B
Markdown
Raw Permalink Normal View History

2023-04-05 18:12:19 +03:00
# %blog
%blog lets you create and serve a simple html website from your ship.
## Features
- Markdown support
- Custom CSS themes
- Drafts
- Serve your %blog from the same domain as your ship with zero config
## Installation
Install %blog with
```
|install ~malwer-worpet-bildet %blog
2023-04-05 18:12:19 +03:00
```
## Export
If you want to move your blog to another Urbit, run `:blog|export %.y`. If you want to serve your blog from a normal server, run `:blog|export %.n`. The file format for each of these cases is slightly different.
2023-04-05 18:12:19 +03:00
2023-05-05 17:25:35 +03:00
To see it, ensure you have mounted the blog desk with `|mount %blog`, and it will appear in unix.
2023-05-02 22:48:10 +03:00
## 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
```
2023-05-05 17:25:35 +03:00
Then run `-blog!import` in the dojo.