Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 983 Bytes

README.md

File metadata and controls

38 lines (31 loc) · 983 Bytes

lih2

lih2 is a simple blog creation and maintanance tool

Setting up

Before you can make your blog, you need to get the necessary tools

$ # make a new directory to store the script and the blog
$ mkdir blog_cover

$ # change directories into the one you just created
$ cd blog_cover

$ # download lih.sh into the directory make it executable
$ wget https://raw.githubusercontent.com/aelobdog/lih2/master/lih.sh && chmod +x lih.sh

Making a new blog

Making the blog is a single command away now.

$ ./lih.sh init my_blog_name

Writing your first post

Writing a post is simple as well!

$ ./lih.sh new my_blog_name
POST TITLE: My first post
<this tries to open up vim, if you dont have it you can manually open the file in your editor of choice>

Generating the blog

Now that the post is written, run the following command to generate the blog index and all the posts.

$ ./lih.sh make my_blog_name

That's it! Happy writing!