WIP readme
This commit is contained in:
parent
acf61772e8
commit
95fd30239e
19
README.md
19
README.md
@ -1,5 +1,4 @@
|
|||||||
# bob
|
# bob
|
||||||

|
|
||||||
|
|
||||||
Bob is a small static generator, for those who wants to maintain a personal
|
Bob is a small static generator, for those who wants to maintain a personal
|
||||||
website or blog, all from the command line.
|
website or blog, all from the command line.
|
||||||
@ -10,26 +9,14 @@ It only is designed in bash script, and should work perfectly fine on any Unix
|
|||||||
like machine.
|
like machine.
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/SiwonP/bob.git
|
git clone https://git.simonpetit.top
|
||||||
cd bob
|
cd bob
|
||||||
make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
For a start, to generate an empty blog, type in the following in the directory
|
To write a post, create a markdown file in the `drafts` folder whose name will
|
||||||
where you want to put your blog in and follow the guide.
|
|
||||||
|
|
||||||
```
|
|
||||||
bob init
|
|
||||||
```
|
|
||||||
|
|
||||||
It will create an `index.html` at the root of your folder, a `bases` folder in
|
|
||||||
which you will store all the posts you want to publish and a `posts` folder
|
|
||||||
where the resulting posts in html will be stored, and a `drafts` folder where to
|
|
||||||
put drafts of posts before publishing them.
|
|
||||||
|
|
||||||
To write a post, create a markdown file in the `bases` folder whose name will
|
|
||||||
also be its title, and convert it to an html file, type the following command
|
also be its title, and convert it to an html file, type the following command
|
||||||
from the root :
|
from the root :
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user