diff options
| author | tanaka takashi <isazaka@gmail.com> | 2026-08-26 21:32:11 +0900 |
|---|---|---|
| committer | tanaka takashi <isazaka@gmail.com> | 2026-08-26 21:32:11 +0900 |
| commit | e3f41a8140cfed799a2c977b3d799cd06204b09a (patch) | |
| tree | 1f9541eee045a0b53f11fcb61b99c568e7d1e529 /templates | |
| parent | 9f2fb3bda733c32995c008bd0f40365e43c348da (diff) | |
feat: 公開コンテンツとサイト表示を実運用向けに更新
サンプル中心だった初期コンテンツを整理し、最初の挨拶Noteとollama-webのSoftware記事、画面キャプチャーを追加する。Aboutとサイト説明はzola.tomlの値を参照する構成に揃え、Software一覧から自前cgitへ案内する。不要になったサンプルNotesとSoftwareは削除する。
ホームの重複する紹介要素を取り除き、見出しサイズ、ページ余白、記事内の見出し間隔、一覧行間を縮小する。bodyとmainをFlexレイアウト化して短いページでもフッターの位置と内側余白を統一し、Software詳細のメタ情報が奇数項目でも罫線と列幅を維持する。
NotesとSoftwareのFront Matterを網羅したコピー用テンプレートと利用手順をdoc/content-templatesへ追加し、設計書と仕様書を現在の構成へ同期する。生成物に加えてdraftディレクトリをGit管理対象外とし、公開前の記事をローカルだけで管理できるようにする。
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 10 | ||||
| -rw-r--r-- | templates/software/section.html | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/templates/index.html b/templates/index.html index 3f0c8c6..61bab58 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,10 +9,6 @@ {% set software_url = get_url(path='@/software/_index.md') %} {% set software = get_section(path='software/_index.md') %} {% set notes = get_section(path='notes/_index.md') %} -<section class="site-container home-intro" aria-labelledby="home-title"> - <h1 id="home-title">{{ section.title }}</h1> - <p>{{ section.description }}</p> -</section> <div class="site-container home-sections"> <section class="home-section" aria-labelledby="latest-notes"> @@ -52,11 +48,5 @@ <p class="empty-state">Softwareは準備中です。</p> {% endif %} </section> - - <section class="home-about" aria-labelledby="home-about-title"> - <h2 id="home-about-title">このサイトについて</h2> - <p>考えたこと、読んだこと、調べたことと、作成したソフトウェアを長期的に残すための個人アーカイブです。</p> - <a href="{{ about_url }}">Aboutを読む</a> - </section> </div> {% endblock content %} diff --git a/templates/software/section.html b/templates/software/section.html index 813f793..e1ec4b4 100644 --- a/templates/software/section.html +++ b/templates/software/section.html @@ -19,6 +19,6 @@ {% else %} <p class="empty-state">Softwareはまだありません。</p> {% endif %} - <p class="source-note">ソースコードの正本は各Softwareから自前cgitへ案内します。</p> + <p class="source-note">公開先リポジトリ: <a href="{{ config.extra.cgit }}" class="external-link" target="_blank" rel="noopener noreferrer">cgit</a></p> </div> {% endblock content %} |
