Compiling and building binary executable file from source code:
go build -o blog-maker main.go
./blog-maker s
./blog-maker -o ./blog
If you want to classify your articles into different groups, you should create a subfolder into content
, and then add
the folder link into templates/partials/_nav.html.tpl
.
For example, if you have written an article about videos
, and want to create a videos
group in your website.
mkdir content/videos
mv your_md_file content/videos/
Add videos
into templates/partials/_nav.html.tpl
[ <a class="nav-btn" href="/videos/">videos</a> ]