Skip to content

blog 生成器,把 markdown 文档转换为 html 文档。

Notifications You must be signed in to change notification settings

yuhaowin/blog-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Compiling and building binary executable file from source code:

go build -o blog-maker main.go

Showing your website on local

./blog-maker s

Render all markdown files in content folder to path

./blog-maker -o ./blog

Classify your articles

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> ]

About

blog 生成器,把 markdown 文档转换为 html 文档。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published