/bicpema-blog

bicpemaのLPサイト

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

bicpema-blog

Setup

$ git clone git@github.com:tooooofu24/bicpema-blog.git

Hugoのインストールが必要。

https://gohugo.io/installation/

インストールが終わったらhugoコマンドが使えるか確認する。

$ hugo version
hugo v0.112.5+extended darwin/amd64 BuildDate=unknown

hugoのインストールが完了していれば、以下のコマンドでローカルサーバーが立ち上がる。

$ hugo server -D

使い方

記事の追加

$ hugo new post/[記事のタイトル(英語)]/index.md

タグの追加

$ hugo new tags/[記事のタイトル(英語)]/index.md

マークダウンの記法は以下が参考になる

https://github.com/CaiJimmy/hugo-theme-stack/tree/master/exampleSite/content/post

各投稿のSuggest Changesをクリックすることで記事の Markdown を確認できる。

https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/content/posts

公式 Docs https://stack.jimmycai.com/

その他

  • content/post,content/tags以外は基本的にはいじらない。
  • ページのテンプレート部分で修正したい場合は @tooooofu24 まで。
  • push すると自動でデプロイされる。
  • デプロイの状況はこちらで確認できる。
  • デプロイ先 URL → https://bicpema-blog.web.app/