-
clone the repertory
git clone git@github.com:ACupofAir/ACupofAir.github.io.git
-
install hugo-extended
-
on ubuntu(22.04 verify)
sudo apt install hugo
hugo new post/folder_name/index.md
will create file_name.mdhugo new file_name.md
will touch file_name.md in posts/file_name.md- the default temperate is
archetypes/default.md
- Tags:
note
,sum
,database
,python
,compile
,diff
,electron
,git
,life
,linux
,powershell
- Categories:
Course Notes
,Python Tips
,Shell Tips
,New Years Sum
- notice
-
notice table
type color meaning error red very important, must be attentioned warning yellow need attention note blue useful note, summary tip green talented idea, fantastic note -
notice usage
{{< notice $type_name >}} This is a colorful card. {{< /notice >}}
-
hugo server --disableFastRender
- Just push the repo to github, I have generated CI system which can auto create public htmls on github.