From 9f2fb3bda733c32995c008bd0f40365e43c348da Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Sat, 22 Aug 2026 00:18:56 +0900 Subject: feat: Zolaで「たかしの記録」を構築 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Specifications.mdとDesign.mdを実装の基準として、個人アーカイブサイトをZola 0.23.3向けに構築する。 - Home、Notes、Software、About、Tagsの情報設計と専用URLを追加 - Notesの年別アーカイブ、タグ分類、目次、脚注、参考文献、更新日表示を実装 - Softwareの一覧・詳細、cgit/GitHub情報、Notesとの明示的な相互参照を実装 - Tera 2 componentによる再帰TOCと共通partialsを追加 - Minimal Editorial ArchiveのSCSS、レスポンシブ表示、アクセシビリティ対応を追加 - OS設定とlocalStorageに対応するLight/Darkテーマ切替を外部JavaScriptで実装 - Atom/RSS、sitemap、robots.txt、404、favicon、syntax highlightingを設定 - メールアドレスをzola.tomlへ一元化し、AboutとFooterから参照 - 表示名・内部ディレクトリ・変数・URLをSoftware/softwareへ統一 - public/をGit管理対象外とし、外部CDNやNode.js依存を導入しない - zola checkおよびzola buildの成功を確認 --- templates/software/page.html | 27 +++++++++++++++++++++++++++ templates/software/section.html | 24 ++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 templates/software/page.html create mode 100644 templates/software/section.html (limited to 'templates/software') diff --git a/templates/software/page.html b/templates/software/page.html new file mode 100644 index 0000000..513aee9 --- /dev/null +++ b/templates/software/page.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} + +{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %} +{% block description %}{{ page.description | default(value=config.description) }}{% endblock description %} + +{% block content %} +
+
+

Software

+

{{ page.title }}

+ {% if page.description %}

{{ page.description }}

{% endif %} +
+ +
+ {% if page.extra.language %}
使用言語
{{ page.extra.language | join(sep=", ") }}
{% endif %} + {% if page.extra.license %}
ライセンス
{{ page.extra.license }}
{% endif %} +
Source
cgit
+ {% if page.extra.github_mirror %}
Mirror
GitHub
{% endif %} +
+ +
+ {{ page.content | safe }} +
+ + {% include "partials/related-notes.html" %} +
+{% endblock content %} diff --git a/templates/software/section.html b/templates/software/section.html new file mode 100644 index 0000000..813f793 --- /dev/null +++ b/templates/software/section.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} + +{% block title %}{{ section.title }} | {{ config.title }}{% endblock title %} +{% block description %}{{ section.description }}{% endblock description %} + +{% block content %} +
+ + {% if section.pages %} +
+ {% for software_item in section.pages %} + {% set item = software_item %} + {% include "partials/software-list-item.html" %} + {% endfor %} +
+ {% else %} +

Softwareはまだありません。

+ {% endif %} +

ソースコードの正本は各Softwareから自前cgitへ案内します。

+
+{% endblock content %} -- cgit v1.2.3