A blog engine written in elixir to generate static blogs from markdown.
def deps do
[
{:simple_blog, "~> 0.2.0"}
]
end
$ git clone [email protected]:viniciusalonso/simple_blog.git
$ cd simple_blog/
$ mix deps.get
$ mix simple_blog.post "10 tips for new developers"
The file will be created at blog/_posts/yyyy-mm-dd-10-tips-for-new-developers.md
.
The local http server is designed to local development of your blog. To start it run the command below:
$ mix clean
$ mix simple_blog.server
The server will be running at http://localhost:4000
.
To generate the static version you should run the command:
$ mix simple_blog.compile
The command will generate a directory called output
.
The default theme is based on https://github.com/samarsault/plainwhite-jekyll.