19 lines
414 B
Markdown
19 lines
414 B
Markdown
# Blog
|
|
|
|
## Tools
|
|
|
|
* Hugo : https://gohugo.io
|
|
* Blog theme : https://github.com/halogenica/beautifulhugo
|
|
* pygments (python package) for syntax coloration
|
|
|
|
## Run, check
|
|
|
|
hugo server -D
|
|
|
|
## Generate
|
|
|
|
# in order to add git commit on blog pages
|
|
export GIT_COMMIT_SHA=`git rev-parse --verify HEAD`
|
|
export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD`
|
|
# gen blog inside ./static folder
|
|
hugo
|