Skip to content

site/ ディレクトリを最新化する#45

Merged
zztkm merged 1 commit intomainfrom
feature/site-update
Jan 28, 2026
Merged

site/ ディレクトリを最新化する#45
zztkm merged 1 commit intomainfrom
feature/site-update

Conversation

@zztkm
Copy link
Member

@zztkm zztkm commented Jan 28, 2026

Phase 1: Critical Corrections

  • about.md: 言語をGoからRustに修正
  • index.md, posts/v0.8.0.md: リポジトリURLを修正 (veltiosoft/vss)
  • vss.toml: 設定を最新化 (goldmarkからmarkdownへ、タグ設定追加)

Phase 2: Feature Documentation

  • v0.16.0.md: Rust移行についてのリリースポスト作成
  • v0.17.0.md: allow_dangerous_htmlについてのリリースポスト作成
  • v0.18.0.md: タグページ生成機能についてのリリースポスト作成
  • posts/index.md: 新しいリリースポストへのリンク追加

Phase 3: Tag Feature Demonstration

  • 既存ポストにタグを追加 (v0.8.0.md, first.md)
  • layouts/tags/default.html: タグページテンプレート作成
  • index.md: タグ一覧セクション追加

Phase 1: Critical Corrections
- about.md: 言語をGoからRustに修正
- index.md, posts/v0.8.0.md: リポジトリURLを修正 (veltiosoft/vss)
- vss.toml: 設定を最新化 (goldmarkからmarkdownへ、タグ設定追加)

Phase 2: Feature Documentation
- v0.16.0.md: Rust移行についてのリリースポスト作成
- v0.17.0.md: allow_dangerous_htmlについてのリリースポスト作成
- v0.18.0.md: タグページ生成機能についてのリリースポスト作成
- posts/index.md: 新しいリリースポストへのリンク追加

Phase 3: Tag Feature Demonstration
- 既存ポストにタグを追加 (v0.8.0.md, first.md)
- layouts/tags/default.html: タグページテンプレート作成
- index.md: タグ一覧セクション追加

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @zztkm, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

このプルリクエストは、vss静的サイトジェネレーターの公式ウェブサイトを最新の状態に保つための包括的な更新です。主な目的は、vssのGoからRustへの移行を反映し、新しいタグ機能を導入し、最近のリリースに関する詳細なドキュメントを提供することです。これにより、ユーザーは最新のvssの機能と変更点をより明確に理解できるようになります。

Highlights

  • Rustへの移行に関する情報の更新: site/about.mdを更新し、vssがGoからRustに書き換えられたこと、およびその理由(パフォーマンスと信頼性)を明記しました。
  • リポジトリURLの統一: site/index.mdとsite/posts/v0.8.0.md内のGitHubリポジトリURLをveltiosoft/go-vssからveltiosoft/vssに修正し、インストールスクリプトのパスも更新しました。
  • タグ機能の導入と関連コンテンツの追加: サイトにタグ機能が導入され、site/vss.tomlにタグ設定が追加されました。これに伴い、タグページ用のテンプレートsite/layouts/tags/default.htmlが新規作成され、site/index.mdにタグ一覧セクションが追加されました。既存のポスト(site/posts/first.md, site/posts/v0.8.0.md)にもタグが追加されています。
  • 新しいリリース記事の追加とリンクの更新: v0.16.0(Rust移行)、v0.17.0(危険なHTMLの許可)、v0.18.0(タグページ生成)に関する3つの新しいリリース記事がsite/posts/ディレクトリに追加され、site/posts/index.mdからこれらの記事へのリンクが追加されました。
  • Markdown設定の更新: site/vss.tomlからgoldmarkのハイライト設定が削除され、代わりにmarkdownセクションが追加され、allow_dangerous_htmlオプションがデフォルトでfalseに設定されました。
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

このプルリクエストは、サイトのドキュメントをGoからRustへの移行に合わせて最新化し、タグ機能などの新機能のドキュメントを追加するもので、素晴らしい更新だと思います。全体的に変更内容は的確で、リポジトリURLの修正や設定ファイルの更新も正しく行われています。

1点、site/layouts/tags/default.html のMustacheテンプレートに重大な構文エラーがありましたので、修正を提案させていただきました。この修正により、タグページが正しくレンダリングされるようになります。

その他のファイルについては、特に問題は見当たりませんでした。

Comment on lines +124 to +142
{{#posts}}
<ul class="post-list">
{{/posts}}
{{#posts}}
<li class="post-item">
<h2><a href="{{url}}">{{title}}</a></h2>
{{#pub_datetime}}
<p class="post-meta">
<time datetime="{{pub_datetime}}">{{pub_datetime}}</time>{{#author}} by {{author}}{{/author}}
</p>
{{/pub_datetime}}
{{#description}}
<p class="post-description">{{description}}</p>
{{/description}}
</li>
{{/posts}}
{{#posts}}
</ul>
{{/posts}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

このMustacheのループ構文は正しくありません。現在の実装は3つの独立した {{#posts}} ループで構成されており、posts 配列の要素数だけ <ul> タグ、<li> タグ、</ul> タグがそれぞれレンダリングされてしまいます。これにより、不正なHTMLが生成されます。

投稿リストを条件付きで(投稿がない場合は何も表示せず、ある場合のみリストを表示する)正しくレンダリングするには、posts 配列が空でないことを確認してから <ul> を開始し、その中で <li> をループする必要があります。

{{#posts.0}} を使って配列の最初の要素が存在するかどうかをチェックすることで、これを実現できます。この方法は、posts が空の場合に {{^posts}} ブロックが正しく機能することも保証します。

        {{#posts.0}}
        <ul class="post-list">
            {{#posts}}
            <li class="post-item">
                <h2><a href="{{url}}">{{title}}</a></h2>
                {{#pub_datetime}}
                <p class="post-meta">
                    <time datetime="{{pub_datetime}}">{{pub_datetime}}</time>{{#author}} by {{author}}{{/author}}
                </p>
                {{/pub_datetime}}
                {{#description}}
                <p class="post-description">{{description}}</p>
                {{/description}}
            </li>
            {{/posts}}
        </ul>
        {{/posts.0}}

@zztkm zztkm merged commit 6a1e11a into main Jan 28, 2026
3 checks passed
@zztkm zztkm deleted the feature/site-update branch January 28, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant