项目作者: ayedaemon

项目描述 :
‡Connected‡
高级语言: HTML
项目地址: git://github.com/ayedaemon/ayedaemon.github.io.git
创建时间: 2020-08-15T17:15:02Z
项目社区:https://github.com/ayedaemon/ayedaemon.github.io

开源协议:Apache License 2.0

下载


https://ayedaemon.github.io


  • Run locally
  1. # Clone repo
  2. git clone <url_to_repo>
  3. # Start hugo server
  4. hugo server -D --disableFastRender
  • Create new post page
  1. hugo new path/to/new/file.md
  • Deploy (now using worktrees)
  1. One time setup (initial)
  1. git worktree add -B gh-pages public origin/gh-pages
  1. Build hugo site
  1. hugo --gc --minify --cleanDestinationDir --logLevel info
  1. Push main branch
  1. git push
  1. push gh-pages branch
  1. cd public && \
  2. git push &&\
  3. cd -