快速生成新文章:

@echo off
set /p id="Enter Article Name: "
hugo new %id%
echo %id% is created
pause

一鍵部署發佈:

@echo off
set /p commit="Enter Commit Value: "
hugo
cd public
git add .
git commit -m "%commit%"
git push -u origin master
echo Commit Pushed
pause

一鍵發佈Root Project:

@echo off
git status
set /p commit="Enter Commit Value: "
git add .
git rm --cached public -f
git commit -m "%commit%"
git push -u origin master
echo Commit Pushed
pause