项目作者: saturn-xiv

项目描述 :
Bootstrap theme for hugo
高级语言: HTML
项目地址: git://github.com/saturn-xiv/hugo-bootstrap.git
创建时间: 2020-02-09T16:19:08Z
项目社区:https://github.com/saturn-xiv/hugo-bootstrap

开源协议:MIT License

下载


Bootstrap theme for hugo

Usage

  1. $ git submodule add https://github.com/saturn-xiv/hugo-bootstrap.git themes/bootstrap
  2. $ cp themes/bootstrap/package.json themes/bootstrap/exampleSite/config.toml themes/bootstrap/.gitignore ./
  3. # install third dependicies
  4. $ npm install
  5. # run server
  6. $ hugo server -D --disableFastRender
  7. # build site
  8. $ hugo -D --minify

Deployment by rsync

  1. $ rsync -avz --delete public/ deploy@www.examples.com:/var/www/www.examples.com/htdocs

Nginx

  1. server {
  2. server_name www.examples.org;
  3. root /var/www/www.examples.org/htdocs;
  4. index index.html;
  5. }

Documents