mirror of
https://github.com/imfing/hextra.git
synced 2025-08-24 14:06:36 -04:00

* docs(blog): prepare for v0.10 release post * Update v0.10.md * Update v0.10.md to refine upgrade instructions and enhance blog features. Added synchronized tab switching and pagination controls, while improving the search experience and table of contents navigation. * Enhance v0.10 release documentation with detailed upgrade instructions and migration guide. Added Tailwind theme variable customization section and clarified breaking changes. Improved clarity on CSS class prefix changes for better user experience. * Update v0.10.md to enhance upgrade instructions, clarify breaking changes, and improve overall readability. Adjusted formatting for consistency and added details on asset management and user experience improvements. * Add notable new features to v0.10.md, including dropdown menu support, enhanced search experience, and blog list pagination. Updated FlexSearch upgrade details for clarity and improved migration guide by removing redundant breaking change notes. * chore: update zh-cn translation * chore: update ja translation * chore: update fa and ja translations * chore: prepare release
39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
---
|
|
title: コメントシステム
|
|
linkTitle: コメント
|
|
---
|
|
|
|
Hextra はサイトにコメントシステムを追加する機能をサポートしています。
|
|
現在 [giscus](https://giscus.app/) が利用可能です。
|
|
|
|
<!--more-->
|
|
|
|
## giscus
|
|
|
|
[giscus](https://giscus.app/) は [GitHub Discussions](https://docs.github.com/ja/discussions) を利用したコメントシステムです。無料でオープンソースです。
|
|
|
|
giscus を有効にするには、サイト設定ファイルに以下を追加してください:
|
|
|
|
```yaml {filename="hugo.yaml"}
|
|
params:
|
|
comments:
|
|
enable: false
|
|
type: giscus
|
|
|
|
giscus:
|
|
repo: <リポジトリ>
|
|
repoId: <リポジトリID>
|
|
category: <カテゴリ>
|
|
categoryId: <カテゴリID>
|
|
```
|
|
|
|
giscus の設定は [giscus.app](https://giscus.app/) ウェブサイトから構築できます。詳細もそちらで確認できます。
|
|
|
|
特定のページでコメントを有効/無効にするには、ページのフロントマターで設定します:
|
|
|
|
```yaml {filename="content/docs/about.md"}
|
|
---
|
|
title: このサイトについて
|
|
comments: true
|
|
---
|
|
``` |