<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ホーム on 私の Hugo サイト</title><link>https://hugo-trainsh.pages.dev/ja/</link><description>Recent content in ホーム on 私の Hugo サイト</description><generator>Hugo</generator><language>ja-JP</language><lastBuildDate>Sun, 26 Oct 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://hugo-trainsh.pages.dev/ja/index.xml" rel="self" type="application/rss+xml"/><item><title>テーマガイド</title><link>https://hugo-trainsh.pages.dev/ja/posts/quick-start/</link><pubDate>Sun, 26 Oct 2025 00:00:00 +0000</pubDate><guid>https://hugo-trainsh.pages.dev/ja/posts/quick-start/</guid><description>&lt;p>この記事では &lt;strong>hugo-trainsh&lt;/strong> の描画機能を紹介します——見出し、コード、テーブル、図、数式、画像など。&lt;/p>
&lt;div class="toc">
 &lt;ul>&lt;li>
 &lt;a href="#3%e3%81%a4%e3%81%ae%e3%83%86%e3%83%bc%e3%83%9e%e3%83%a2%e3%83%bc%e3%83%89">3つのテーマモード&lt;/a>&lt;/li>&lt;li>
 &lt;a href="#%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88">テキスト&lt;/a>&lt;/li>&lt;li>
 &lt;a href="#%e3%82%b3%e3%83%bc%e3%83%89">コード&lt;/a>&lt;/li>&lt;li>
 &lt;a href="#%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab">テーブル&lt;/a>&lt;/li>&lt;li>
 &lt;a href="#%e5%9b%b3%e8%a1%a8">図表&lt;/a>&lt;/li>&lt;li>
 &lt;a href="#%e6%95%b0%e5%bc%8f">数式&lt;/a>&lt;/li>&lt;li>
 &lt;a href="#%e7%94%bb%e5%83%8f">画像&lt;/a>&lt;/li>&lt;li>
 &lt;a href="#%e3%82%bf%e3%82%b0">タグ&lt;/a>&lt;/li>&lt;/ul>
&lt;/div>



&lt;h2 id="3つのテーマモード">
 3つのテーマモード
&lt;/h2>
&lt;p>ヘッダーのトグルボタンで順に切り替えます：&lt;/p>
&lt;ol>
&lt;li>&lt;strong>レトロ&lt;/strong> (ゲームパッド) — NES ディープブルー背景、ピクセルフォント見出し、8-bit ダイアログ枠&lt;/li>
&lt;li>&lt;strong>ライト&lt;/strong> (太陽) — すっきりしたモダン配色&lt;/li>
&lt;li>&lt;strong>ダーク&lt;/strong> (月) — 夜間の閲覧に最適&lt;/li>
&lt;/ol>
&lt;h2 id="テキスト">
 テキスト
&lt;/h2>
&lt;p>通常の Markdown がそのまま使えます。&lt;strong>太字&lt;/strong>はレトロモードでゴールドに、&lt;em>斜体&lt;/em>も問題なく表示されます。&lt;a href="https://hugo-trainsh.pages.dev/ja/">任意のリンク&lt;/a>もテーマに合わせてスタイルが変わります。&lt;/p>
&lt;blockquote>
&lt;p>引用ブロックはレトロモードでシアンの枠が付き、長い記事でもすぐ見分けがつきます。&lt;/p>&lt;/blockquote>
&lt;hr>
&lt;h2 id="コード">
 コード
&lt;/h2>
&lt;p>フェンスコードブロックにはシンタックスハイライト、コピーボタン、ソフトラップが付きます：&lt;/p>
&lt;div class="codeblock">
 &lt;div class="codeblock-actions">
 &lt;button type="button"
 class="codeblock-action codeblock-action--wrap"
 data-wrap-toggle
 data-icon-button
 aria-pressed="false"
 title="折り返しを有効化"
 data-wrap-title="折り返しを有効化"
 data-nowrap-title="折り返しを無効化">
 &lt;svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
 &lt;path d="M4 6h16M4 10h12a4 4 0 0 1 0 8h-2" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round"/>
 &lt;path d="M14 18l-2-2m2 2l-2 2" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
 &lt;/svg>
 &lt;/button>

 &lt;button type="button"
 class="codeblock-action codeblock-action--copy"
 data-copy-code
 data-icon-button
 title="コードをコピー"
 data-copied-title="コピー済み">
 &lt;svg class="icon-copy" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
 &lt;rect x="9" y="9" width="13" height="13" rx="2" ry="2" stroke="currentColor" stroke-width="2" fill="none">&lt;/rect>
 &lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round">&lt;/path>
 &lt;/svg>
 &lt;svg class="icon-check" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
 &lt;path d="M20 6L9 17l-5-5" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">&lt;/path>
 &lt;/svg>
 &lt;/button>
 &lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="line">&lt;span class="cl">&lt;span class="kn">from&lt;/span> &lt;span class="nn">datetime&lt;/span> &lt;span class="kn">import&lt;/span> &lt;span class="n">date&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">def&lt;/span> &lt;span class="nf">greet&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">name&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="nb">str&lt;/span>&lt;span class="p">)&lt;/span> &lt;span class="o">-&amp;gt;&lt;/span> &lt;span class="nb">str&lt;/span>&lt;span class="p">:&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">return&lt;/span> &lt;span class="sa">f&lt;/span>&lt;span class="s2">&amp;#34;こんにちは、&lt;/span>&lt;span class="si">{&lt;/span>&lt;span class="n">name&lt;/span>&lt;span class="si">}&lt;/span>&lt;span class="s2">！今日は &lt;/span>&lt;span class="si">{&lt;/span>&lt;span class="n">date&lt;/span>&lt;span class="o">.&lt;/span>&lt;span class="n">today&lt;/span>&lt;span class="p">()&lt;/span>&lt;span class="si">}&lt;/span>&lt;span class="s2"> です。&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">print&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">greet&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="s2">&amp;#34;世界&amp;#34;&lt;/span>&lt;span class="p">))&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/div>
&lt;p>&lt;code>hugo server&lt;/code> のようなインラインコードもスタイル付きです。&lt;/p></description></item><item><title>コードサンプル</title><link>https://hugo-trainsh.pages.dev/ja/posts/code-samples/</link><pubDate>Sun, 19 Oct 2025 00:00:00 +0000</pubDate><guid>https://hugo-trainsh.pages.dev/ja/posts/code-samples/</guid><description>&lt;h2 id="javascript">
 JavaScript
&lt;/h2>
&lt;div class="codeblock">
 &lt;div class="codeblock-actions">
 &lt;button type="button"
 class="codeblock-action codeblock-action--wrap"
 data-wrap-toggle
 data-icon-button
 aria-pressed="false"
 title="折り返しを有効化"
 data-wrap-title="折り返しを有効化"
 data-nowrap-title="折り返しを無効化">
 &lt;svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
 &lt;path d="M4 6h16M4 10h12a4 4 0 0 1 0 8h-2" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round"/>
 &lt;path d="M14 18l-2-2m2 2l-2 2" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
 &lt;/svg>
 &lt;/button>

 &lt;button type="button"
 class="codeblock-action codeblock-action--copy"
 data-copy-code
 data-icon-button
 title="コードをコピー"
 data-copied-title="コピー済み">
 &lt;svg class="icon-copy" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
 &lt;rect x="9" y="9" width="13" height="13" rx="2" ry="2" stroke="currentColor" stroke-width="2" fill="none">&lt;/rect>
 &lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round">&lt;/path>
 &lt;/svg>
 &lt;svg class="icon-check" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
 &lt;path d="M20 6L9 17l-5-5" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">&lt;/path>
 &lt;/svg>
 &lt;/button>
 &lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="line">&lt;span class="cl">&lt;span class="kr">export&lt;/span> &lt;span class="kd">function&lt;/span> &lt;span class="nx">hasFeature&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="nx">name&lt;/span>&lt;span class="p">)&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">return&lt;/span> &lt;span class="p">[&lt;/span>&lt;span class="s1">&amp;#39;ショートコード&amp;#39;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="s1">&amp;#39;Mermaid&amp;#39;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="s1">&amp;#39;KaTeX&amp;#39;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="s1">&amp;#39;PhotoSwipe&amp;#39;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="s1">&amp;#39;i18n&amp;#39;&lt;/span>&lt;span class="p">].&lt;/span>&lt;span class="nx">includes&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="nx">name&lt;/span>&lt;span class="p">);&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nx">console&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nx">log&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="nx">hasFeature&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="s1">&amp;#39;ショートコード&amp;#39;&lt;/span>&lt;span class="p">));&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/div>
&lt;h2 id="python">
 Python
&lt;/h2>
&lt;div class="codeblock">
 &lt;div class="codeblock-actions">
 &lt;button type="button"
 class="codeblock-action codeblock-action--wrap"
 data-wrap-toggle
 data-icon-button
 aria-pressed="false"
 title="折り返しを有効化"
 data-wrap-title="折り返しを有効化"
 data-nowrap-title="折り返しを無効化">
 &lt;svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
 &lt;path d="M4 6h16M4 10h12a4 4 0 0 1 0 8h-2" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round"/>
 &lt;path d="M14 18l-2-2m2 2l-2 2" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
 &lt;/svg>
 &lt;/button>

 &lt;button type="button"
 class="codeblock-action codeblock-action--copy"
 data-copy-code
 data-icon-button
 title="コードをコピー"
 data-copied-title="コピー済み">
 &lt;svg class="icon-copy" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
 &lt;rect x="9" y="9" width="13" height="13" rx="2" ry="2" stroke="currentColor" stroke-width="2" fill="none">&lt;/rect>
 &lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round">&lt;/path>
 &lt;/svg>
 &lt;svg class="icon-check" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
 &lt;path d="M20 6L9 17l-5-5" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">&lt;/path>
 &lt;/svg>
 &lt;/button>
 &lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="line">&lt;span class="cl">&lt;span class="kn">from&lt;/span> &lt;span class="nn">dataclasses&lt;/span> &lt;span class="kn">import&lt;/span> &lt;span class="n">dataclass&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="kn">from&lt;/span> &lt;span class="nn">datetime&lt;/span> &lt;span class="kn">import&lt;/span> &lt;span class="n">date&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nd">@dataclass&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">class&lt;/span> &lt;span class="nc">DemoFeature&lt;/span>&lt;span class="p">:&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="n">name&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="nb">str&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="n">enabled&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="nb">bool&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="n">features&lt;/span> &lt;span class="o">=&lt;/span> &lt;span class="p">[&lt;/span>&lt;span class="s2">&amp;#34;コードブロック拡張&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="s2">&amp;#34;検索&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="s2">&amp;#34;タグ絞り込み&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="s2">&amp;#34;いいね&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="s2">&amp;#34;多言語&amp;#34;&lt;/span>&lt;span class="p">]&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="n">status&lt;/span> &lt;span class="o">=&lt;/span> &lt;span class="p">[&lt;/span>&lt;span class="n">DemoFeature&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">name&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="n">feature&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="n">enabled&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="kc">True&lt;/span>&lt;span class="p">)&lt;/span> &lt;span class="k">for&lt;/span> &lt;span class="n">feature&lt;/span> &lt;span class="ow">in&lt;/span> &lt;span class="n">features&lt;/span>&lt;span class="p">]&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">print&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">date&lt;/span>&lt;span class="o">.&lt;/span>&lt;span class="n">today&lt;/span>&lt;span class="p">()&lt;/span>&lt;span class="o">.&lt;/span>&lt;span class="n">isoformat&lt;/span>&lt;span class="p">(),&lt;/span> &lt;span class="n">status&lt;/span>&lt;span class="p">[:&lt;/span>&lt;span class="mi">2&lt;/span>&lt;span class="p">],&lt;/span> &lt;span class="sa">f&lt;/span>&lt;span class="s2">&amp;#34;total=&lt;/span>&lt;span class="si">{&lt;/span>&lt;span class="nb">len&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="n">status&lt;/span>&lt;span class="p">)&lt;/span>&lt;span class="si">}&lt;/span>&lt;span class="s2">&amp;#34;&lt;/span>&lt;span class="p">)&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/div></description></item><item><title>画像とライトボックス</title><link>https://hugo-trainsh.pages.dev/ja/posts/images-and-lightbox/</link><pubDate>Sun, 12 Oct 2025 00:00:00 +0000</pubDate><guid>https://hugo-trainsh.pages.dev/ja/posts/images-and-lightbox/</guid><description>&lt;h2 id="外部画像">
 外部画像
&lt;/h2>
&lt;p>画像をクリックするとライトボックスで開きます。&lt;/p>
&lt;p>&lt;figure>&lt;a href="https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&amp;amp;fit=crop&amp;amp;w=1400&amp;amp;q=60" class="lightbox-image">
 &lt;img src="https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&amp;amp;fit=crop&amp;amp;w=1400&amp;amp;q=60" alt="山あいの湖" title="拡大表示" loading="lazy">
&lt;/a>
&lt;figcaption>拡大表示&lt;/figcaption>
&lt;/figure>


&lt;/p>
&lt;h2 id="ローカル画像の注意">
 ローカル画像の注意
&lt;/h2>
&lt;p>Page Bundle の場合は、画像を &lt;code>index.md&lt;/code> と同じ場所に置き、ファイル名だけで参照するとサイズが取得できます。&lt;/p></description></item><item><title>Mermaid と数式のデモ</title><link>https://hugo-trainsh.pages.dev/ja/posts/mermaid-and-math/</link><pubDate>Sun, 05 Oct 2025 00:00:00 +0000</pubDate><guid>https://hugo-trainsh.pages.dev/ja/posts/mermaid-and-math/</guid><description>&lt;h2 id="mermaid">
 Mermaid
&lt;/h2>
&lt;pre class="mermaid">
 sequenceDiagram
 participant U as ユーザー
 participant H as Hugo
 participant T as テーマランタイム
 U-&amp;gt;&amp;gt;H: コンテンツを保存
 H-&amp;gt;&amp;gt;T: テンプレートでレンダリング
 T--&amp;gt;&amp;gt;U: ライブリロード
&lt;/pre>

&lt;h2 id="数式">
 数式
&lt;/h2>
&lt;p>インライン数式: $a^2 + b^2 = c^2$。&lt;/p>
&lt;p>ブロック数式:&lt;/p>
&lt;span class="katex-display">&lt;span class="katex">&lt;span class="katex-mathml">&lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block">&lt;semantics>&lt;mrow>&lt;msubsup>&lt;mo>∫&lt;/mo>&lt;mrow>&lt;mo>−&lt;/mo>&lt;mi mathvariant="normal">∞&lt;/mi>&lt;/mrow>&lt;mi mathvariant="normal">∞&lt;/mi>&lt;/msubsup>&lt;msup>&lt;mi>e&lt;/mi>&lt;mrow>&lt;mo>−&lt;/mo>&lt;msup>&lt;mi>x&lt;/mi>&lt;mn>2&lt;/mn>&lt;/msup>&lt;/mrow>&lt;/msup>&lt;mtext> &lt;/mtext>&lt;mi>d&lt;/mi>&lt;mi>x&lt;/mi>&lt;mo>=&lt;/mo>&lt;msqrt>&lt;mi>π&lt;/mi>&lt;/msqrt>&lt;/mrow>&lt;annotation encoding="application/x-tex">\int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi}&lt;/annotation>&lt;/semantics>&lt;/math>&lt;/span>&lt;span class="katex-html" aria-hidden="true">&lt;span class="base">&lt;span class="strut" style="height:2.3846em;vertical-align:-0.9703em;">&lt;/span>&lt;span class="mop">&lt;span class="mop op-symbol large-op" style="margin-right:0.44445em;position:relative;top:-0.0011em;">∫&lt;/span>&lt;span class="msupsub">&lt;span class="vlist-t vlist-t2">&lt;span class="vlist-r">&lt;span class="vlist" style="height:1.4143em;">&lt;span style="top:-1.7881em;margin-left:-0.4445em;margin-right:0.05em;">&lt;span class="pstrut" style="height:2.7em;">&lt;/span>&lt;span class="sizing reset-size6 size3 mtight">&lt;span class="mord mtight">&lt;span class="mord mtight">−&lt;/span>&lt;span class="mord mtight">∞&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;span style="top:-3.8129em;margin-right:0.05em;">&lt;span class="pstrut" style="height:2.7em;">&lt;/span>&lt;span class="sizing reset-size6 size3 mtight">&lt;span class="mord mtight">&lt;span class="mord mtight">∞&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;span class="vlist-s">​&lt;/span>&lt;/span>&lt;span class="vlist-r">&lt;span class="vlist" style="height:0.9703em;">&lt;span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;span class="mspace" style="margin-right:0.1667em;">&lt;/span>&lt;span class="mord">&lt;span class="mord mathnormal">e&lt;/span>&lt;span class="msupsub">&lt;span class="vlist-t">&lt;span class="vlist-r">&lt;span class="vlist" style="height:1.0369em;">&lt;span style="top:-3.113em;margin-right:0.05em;">&lt;span class="pstrut" style="height:2.7em;">&lt;/span>&lt;span class="sizing reset-size6 size3 mtight">&lt;span class="mord mtight">&lt;span class="mord mtight">−&lt;/span>&lt;span class="mord mtight">&lt;span class="mord mathnormal mtight">x&lt;/span>&lt;span class="msupsub">&lt;span class="vlist-t">&lt;span class="vlist-r">&lt;span class="vlist" style="height:0.8913em;">&lt;span style="top:-2.931em;margin-right:0.0714em;">&lt;span class="pstrut" style="height:2.5em;">&lt;/span>&lt;span class="sizing reset-size3 size1 mtight">&lt;span class="mord mtight">2&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;span class="mspace" style="margin-right:0.1667em;">&lt;/span>&lt;span class="mord mathnormal">d&lt;/span>&lt;span class="mord mathnormal">x&lt;/span>&lt;span class="mspace" style="margin-right:0.2778em;">&lt;/span>&lt;span class="mrel">=&lt;/span>&lt;span class="mspace" style="margin-right:0.2778em;">&lt;/span>&lt;/span>&lt;span class="base">&lt;span class="strut" style="height:1.04em;vertical-align:-0.1908em;">&lt;/span>&lt;span class="mord sqrt">&lt;span class="vlist-t vlist-t2">&lt;span class="vlist-r">&lt;span class="vlist" style="height:0.8492em;">&lt;span class="svg-align" style="top:-3em;">&lt;span class="pstrut" style="height:3em;">&lt;/span>&lt;span class="mord" style="padding-left:0.833em;">&lt;span class="mord mathnormal" style="margin-right:0.03588em;">π&lt;/span>&lt;/span>&lt;/span>&lt;span style="top:-2.8092em;">&lt;span class="pstrut" style="height:3em;">&lt;/span>&lt;span class="hide-tail" style="min-width:0.853em;height:1.08em;">&lt;svg xmlns="http://www.w3.org/2000/svg" width="400em" height="1.08em" viewBox="0 0 400000 1080" preserveAspectRatio="xMinYMin slice">&lt;path d="M95,702
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l0 -0
c5.3,-9.3,12,-14,20,-14
H400000v40H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M834 80h400000v40h-400000z"/>&lt;/svg>&lt;/span>&lt;/span>&lt;/span>&lt;span class="vlist-s">​&lt;/span>&lt;/span>&lt;span class="vlist-r">&lt;span class="vlist" style="height:0.1908em;">&lt;span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span>&lt;/span></description></item><item><title>アーカイブとタグ</title><link>https://hugo-trainsh.pages.dev/ja/posts/archive-and-tags/</link><pubDate>Sun, 28 Sep 2025 00:00:00 +0000</pubDate><guid>https://hugo-trainsh.pages.dev/ja/posts/archive-and-tags/</guid><description>&lt;h2 id="アーカイブ">
 アーカイブ
&lt;/h2>
&lt;p>アーカイブページでは日付ごとに閲覧できます。最新の投稿はホームに表示されます。&lt;/p>
&lt;h2 id="タグ">
 タグ
&lt;/h2>
&lt;p>この投稿には &lt;code>アーカイブ&lt;/code> と &lt;code>タグ&lt;/code> のタグを付けています。メニューからタグページを開いてください。&lt;/p></description></item><item><title>表のテスト</title><link>https://hugo-trainsh.pages.dev/ja/posts/table-test/</link><pubDate>Fri, 26 Sep 2025 00:00:00 +0000</pubDate><guid>https://hugo-trainsh.pages.dev/ja/posts/table-test/</guid><description>&lt;table class="striped" data-test="t1" id="demo-table">
 &lt;thead>
 &lt;tr>
 &lt;th style="text-align: left">左&lt;/th>
 &lt;th style="text-align: center">中央&lt;/th>
 &lt;th style="text-align: right">右&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td style="text-align: left">a&lt;/td>
 &lt;td style="text-align: center">b&lt;/td>
 &lt;td style="text-align: right">c&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td style="text-align: left">&lt;code>code&lt;/code>&lt;/td>
 &lt;td style="text-align: center">&lt;em>em&lt;/em>&lt;/td>
 &lt;td style="text-align: right">&lt;strong>bold&lt;/strong>&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table></description></item><item><title>エンジニアリング原則 2024</title><link>https://hugo-trainsh.pages.dev/ja/posts/engineering-principles/</link><pubDate>Mon, 22 Apr 2024 00:00:00 +0000</pubDate><guid>https://hugo-trainsh.pages.dev/ja/posts/engineering-principles/</guid><description>&lt;h2 id="原則">
 原則
&lt;/h2>
&lt;ol>
&lt;li>小さく出して、頻繁にリリースする。&lt;/li>
&lt;li>クリティカルパスは枯れた技術を優先する。&lt;/li>
&lt;li>テストは意図を記録するもの。読みやすく保つ。&lt;/li>
&lt;li>機能を足す前に、ロールバックを容易にしておく。&lt;/li>
&lt;/ol>
&lt;h2 id="メモ">
 メモ
&lt;/h2>
&lt;p>これらの原則は、覚えて議論できるよう意図的に簡潔にしている。&lt;/p></description></item><item><title>機能デモガイド</title><link>https://hugo-trainsh.pages.dev/ja/posts/product-walkthrough/</link><pubDate>Thu, 18 Mar 2021 00:00:00 +0000</pubDate><guid>https://hugo-trainsh.pages.dev/ja/posts/product-walkthrough/</guid><description>&lt;h2 id="なぜこの投稿を更新したか">
 なぜこの投稿を更新したか
&lt;/h2>
&lt;p>このデモ記事は最新テーマの確認用に更新し、アップグレード後の主要機能を検証するためのチェックリストになっています。&lt;/p>
&lt;h2 id="検証フロー">
 検証フロー
&lt;/h2>
&lt;ol>
&lt;li>言語切替で各言語版の対応ページが参照できること。&lt;/li>
&lt;li>一覧ページで検索とタグ絞り込みが動作すること。&lt;/li>
&lt;li>記事内のショートコード（&lt;code>toc&lt;/code>、&lt;code>tags&lt;/code>、&lt;code>recent-posts&lt;/code>）が正しく描画されること。&lt;/li>
&lt;li>コードブロック・Mermaid・KaTeX・PhotoSwipe が正常に表示されること。&lt;/li>
&lt;li>テーマ切替ボタンが3段階で正しく動作すること：ライト（太陽）→ ダーク（月）→ レトロ（ゲームパッド）→ ライト。レトロモードでは NES ピクセル風（ディープブルー背景、ピクセルフォント見出し）が表示されること。&lt;/li>
&lt;/ol>
&lt;h2 id="推奨設定">
 推奨設定
&lt;/h2>
&lt;ul>
&lt;li>&lt;code>params.mainSections&lt;/code> は記事の実際のセクションを含める（デモは &lt;code>posts&lt;/code>）。&lt;/li>
&lt;li>&lt;code>outputs.home&lt;/code> で &lt;code>JSON&lt;/code> を有効にすると検索インデックスを使えます。&lt;/li>
&lt;/ul>
&lt;h2 id="補足">
 補足
&lt;/h2>
&lt;ul>
&lt;li>多言語の同一コンテンツは &lt;code>translationKey&lt;/code> で関連付けます。&lt;/li>
&lt;/ul></description></item></channel></rss>