Currently I'm using Cloudflare Page for deployment.
See in Blog.
hugo extend v104.3+ (higher is ok, but extend is needed) eg: hugo v0.148.2+extended+withdeploy linux/amd64 BuildDate=unknown
theme
hugo-theme-stack v3
build to ./public
hugohot deploy to localhost
hugo server-D for show draft also
new content:
hugo new post/xxx.mdsearch order: hugo
Some shortcode in markdown for flex writing.
Great thanks to cubercsl.
Example:
{{% notice warning diywords %}}
content
{{% /notice %}}包含以下几种:
"tip": {
"prefix": "tip",
"body": [
"{{% notice tip Tip%}}"
"$0"
"{{% /notice %}}"
],
"description": "green"
},
"info": {
"prefix": "info",
"body": [
"{{% notice info Info%}}"
"$0"
"{{% /notice %}}"
],
"description": "yellow"
},
"warning": {
"prefix": "warning",
"body": [
"{{% notice warning Warning%}}"
"$0"
"{{% /notice %}}"
],
"description": "red"
},
"note": {
"prefix": "note",
"body": [
"{{% notice note Note%}}"
"$0"
"{{% /notice %}}"
],
"description": "blue"
},
"spoiler": {
"prefix": "spoiler",
"body": [
"{{% spoiler 代码 %}}"
"$0"
"{{% /spoiler %}}"
],
"description": "code"
}