Using Asciidoc for the blog
First blog post
The first blogpost is about setting up this blog itself, with hugo and asciidoctor as rendering engine
Install needed packages
$ pacman -Sy hugo asciidoctor
Create the new blog:
$ hugo new site myBlog
Configure it:
$ cd myBlog
$ vim config.toml
Create a the first blog post, you have to be inside the
myBlog directory$ hugo new posts/00001_first-blog-post.adoc
Add all needed files to a git repo
$ git init
$ echo "public/" >> .gitignore
$ git submodule add git@github.com:bake/solar-theme-hugo.git themes/solar-theme-hugo
$ git add archetypes/default.md config.toml content/posts/00001_first-blog-post.adoc .gitignore themes/solar-theme-hugo .gitmodules
$ git commit "initial commit and post"
Test it, run (best is if you run it in a seperate console, because it will automatically update your website when you make changes inside the posts):
$ hugo server --buildDrafts --watch