【Hugo】hugo-geekdoc主题使用

1. 准备工作 1 2 3 4 5 6 7 8 9 # 新建站点 hugo new site hugo-geekdoc # 进入站点路径下 cd hugo-geekdoc # 安装主题 mkdir -p themes/hugo-geekdoc/ curl -L <https://github.com/thegeeklab/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz> | tar -xz -C themes/hugo-geekdoc/ --strip-components=1 修改根目目下的config.toml进行

【Hugo】hugo-book主题使用

一、安装 1 2 3 4 5 6 7 # 首先初始化一个站点项目 hugo new site hugo-book cd hugo-book # 下载主题 git clone <https://github.com/alex-shpak/hugo-book.git> themes/book # 指定主题为“book”启动便可以看到效果了 hugo server -t book 二、使用 首先