20 lines
414 B
Markdown
20 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
|