このプロジェクトはHugoを使用して構築された静的ウェブサイトです。GitHub-styleテーマを使用し、Cloudflare Pagesでホストされています。
- GitHub-styleテーマによるモダンなデザイン
- Gitalkによるコメント機能
- GoogleAnalytics(GA4)によるアクセス解析
- 記事の検索機能
- GitHub Issuesとの連携による記事管理
- 日本語URLのサポート
- RSSフィード対応
- Hugo Extended v0.140.2以上
- Go 1.18以上
- Git
.
├── .devcontainer/ # 開発コンテナの設定
├── .github/ # GitHub Actions設定
│ └── workflows/ # 自動化ワークフロー
├── archetypes/ # コンテンツのテンプレート
├── content/ # ブログコンテンツ
│ ├── posts/ # 記事
│ └── about/ # 固定ページ
├── public/ # ビルドされたサイトの出力先
├── scripts/ # ユーティリティスクリプト
├── static/ # 静的ファイル
│ └── images/ # 画像ファイル
├── themes/ # テーマファイル(GitHub-style)
├── hugo.toml # サイトの設定ファイル
└── wrangler.toml # Cloudflare Pages設定
- ベースURL: https://0g0.xyz/
- 言語: ja-JP
- サイトタイトル: g-kariのブログ
- テーマ: GitHub-style
サイトはCloudflare Pagesで自動的にデプロイされます:
- mainブランチへのプッシュで自動デプロイ
- プルリクエストでプレビューデプロイ
- GitHub Issuesで新規Issue作成
blog-post
ラベルを付ける- 自動的に記事として変換・公開
または直接作成:
hugo new posts/my-new-post.md
# 開発サーバーの起動
hugo server -D
# 本番用ビルド
hugo --minify
HUGO_ENV
: 環境設定(production/preview)GITALK_SECRET
: Gitalkの認証情報HUGO_VERSION
: Hugoのバージョン指定
MIT License
Copyright (c) 2024 g-kari
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.