https://woniu336.github.io/p/279/
https://woniu336.github.io/p/280/
https://woniu336.github.io/p/281/
在桌面右键打开 Git bash 运行以下命令
hugo new site quickstart
cd quickstart
git init
git submodule add https://github.com/woniu336/hugo-magic.git themes/hugo-magic
拷贝 hugo-magic 主题核心文件到根目录 quickstart
cp -rf themes/hugo-magic/exampleSite/* .
rm hugo.toml
mkdir -p assets/img
cp themes/hugo-magic/data/footer_links.json data/
cp -r themes/hugo-magic/archetypes .
cp -r themes/hugo-magic/shell .
cp -r themes/hugo-magic/static .
cp themes/hugo-magic/.gitignore .
hugo server -w -D -p 1314 --bind 0.0.0.0 --contentDir content --minify --forceSyncStatic --ignoreCache --noHTTPCache --gc -e production