Open shomaisshi opened 3 years ago
記事を追加する
$ hugo new post/my-new-post.md
更新する
$ cd public/
$ git init
$ git remote add origin git@github.com:satzz/hugotest.git
$ git checkout -b gh-pages
$ git add --all
$ git commit -m'initial commit for gh-pages'
$ git push origin gh-pages
ローカルサーバーで確認
hugo server
publicに生成する
hugo
config.toml
ファイル
baseurl = "https://shoma1219.github.io/blog"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "simple"
canonifyurls = true
publishdir = "public"
参考
GitHub Pages URL: