<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>架站筆記 on Thita希達的創作便利貼</title>
    <link>/tc/notes/dev/web/</link>
    <description>Recent content in 架站筆記 on Thita希達的創作便利貼</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-tw</language>
    <copyright>Thita 希達 © 2026 </copyright>
    <lastBuildDate>Fri, 03 Oct 2025 10:00:00 +0800</lastBuildDate><atom:link href="/tc/notes/dev/web/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>常用語法：Hugo網站搭配Blowfish主題</title>
      <link>/tc/notes/dev/web/cheatsheet-hugo-blowfish/</link>
      <pubDate>Wed, 05 Feb 2025 10:00:00 +0800</pubDate>
      
      <guid>/tc/notes/dev/web/cheatsheet-hugo-blowfish/</guid>
      <description>&lt;p&gt;
&lt;figure&gt;
        &lt;img
          class=&#34;my-0 rounded-md nozoom flex justify-center w-custom-330&#34;
          srcset=&#34;
          /notes/dev/web/cheatsheet-hugo-blowfish/images/inner_cover_hugo_blowfish_hu_a945811f4cc4c406.jpg 330w,
          /notes/dev/web/cheatsheet-hugo-blowfish/images/inner_cover_hugo_blowfish_hu_76b5ee373b2c7a35.jpg 660w,
          /notes/dev/web/cheatsheet-hugo-blowfish/images/inner_cover_hugo_blowfish_hu_8bda4392d45d4c4.jpg 1024w,
          /notes/dev/web/cheatsheet-hugo-blowfish/images/inner_cover_hugo_blowfish_hu_d25318fdd26e7a4.jpg 2x&#34;
          src=&#34;/notes/dev/web/cheatsheet-hugo-blowfish/images/inner_cover_hugo_blowfish_hu_76b5ee373b2c7a35.jpg&#34;
          alt=&#34;Inner Cover Image&#34;
        /&gt;
  
  
  &lt;/figure&gt;
Hugo搭配Blowfish主題的語法，&lt;br&gt;
大致分成：&lt;br&gt;
&lt;strong&gt;HTML語法&lt;/strong&gt;：寫模板、樣式，最通用&lt;br&gt;
&lt;strong&gt;MD語法&lt;/strong&gt;：常用於&lt;code&gt;index.md&lt;/code&gt;內頁，簡便&lt;br&gt;
&lt;strong&gt;Blowfish 簡碼&lt;/strong&gt;：Blowfish主題整理的GO語法&lt;br&gt;&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="/notes/dev/web/cheatsheet-hugo-blowfish/featured.jpg" />
    </item>
    
    <item>
      <title>Hugo 專案更新流程</title>
      <link>/tc/notes/dev/web/copy-project-folder/</link>
      <pubDate>Fri, 03 Oct 2025 10:00:00 +0800</pubDate>
      
      <guid>/tc/notes/dev/web/copy-project-folder/</guid>
      <description>&lt;figure&gt;
        &lt;img
          class=&#34;my-0 rounded-md nozoom flex justify-center w-custom-330&#34;
          srcset=&#34;
          /notes/dev/web/copy-project-folder/images/inner_cover_hugo_hu_7a233451d81d71c2.jpg 330w,
          /notes/dev/web/copy-project-folder/images/inner_cover_hugo_hu_1da162691e255b4c.jpg 660w,
          /notes/dev/web/copy-project-folder/images/inner_cover_hugo_hu_513ac3a55a649b7c.jpg 1024w,
          /notes/dev/web/copy-project-folder/images/inner_cover_hugo_hu_9125e65051c130cb.jpg 2x&#34;
          src=&#34;/notes/dev/web/copy-project-folder/images/inner_cover_hugo_hu_1da162691e255b4c.jpg&#34;
          alt=&#34;Inner Cover Image&#34;
        /&gt;
  
  
  &lt;/figure&gt;
&lt;!-- [claude](https://claude.ai/chat/11e4a569-1f7e-475f-b4f9-cb44ef9ffc59) --&gt;


&lt;h2 class=&#34;relative group&#34;&gt;步驟提要 
    &lt;div id=&#34;%E6%AD%A5%E9%A9%9F%E6%8F%90%E8%A6%81&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700&#34;
            style=&#34;text-decoration-line: none !important;&#34; href=&#34;#%E6%AD%A5%E9%A9%9F%E6%8F%90%E8%A6%81&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;複製原專案資料夾、更名&lt;/li&gt;
&lt;li&gt;移除新專案  舊Git遠端連結&lt;/li&gt;
&lt;li&gt;上傳新專案到 GitHub，建立新 repository&lt;/li&gt;
&lt;li&gt;忽略 &lt;strong&gt;/hugo.exe&lt;/strong&gt;、&lt;strong&gt;/public/&lt;/strong&gt;、&lt;strong&gt;/resources&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;連結到新的 GitHub repository&lt;br&gt;
→若忘記忽略→  4.5. 補忽略+刪除&lt;/li&gt;
&lt;li&gt;驗證&lt;/li&gt;
&lt;li&gt;部屬新專案
&lt;br&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;h2 class=&#34;relative group&#34;&gt;1. 複製專案資料夾 
    &lt;div id=&#34;1-%E8%A4%87%E8%A3%BD%E5%B0%88%E6%A1%88%E8%B3%87%E6%96%99%E5%A4%BE&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700&#34;
            style=&#34;text-decoration-line: none !important;&#34; href=&#34;#1-%E8%A4%87%E8%A3%BD%E5%B0%88%E6%A1%88%E8%B3%87%E6%96%99%E5%A4%BE&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# 在專案的上層目錄執行&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cp -r thWeb-cc_0730-25 thWeb-cc_0930-25
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2 class=&#34;relative group&#34;&gt;2. 進入新資料夾並移除舊的 Git 遠端連結 
    &lt;div id=&#34;2-%E9%80%B2%E5%85%A5%E6%96%B0%E8%B3%87%E6%96%99%E5%A4%BE%E4%B8%A6%E7%A7%BB%E9%99%A4%E8%88%8A%E7%9A%84-git-%E9%81%A0%E7%AB%AF%E9%80%A3%E7%B5%90&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700&#34;
            style=&#34;text-decoration-line: none !important;&#34; href=&#34;#2-%E9%80%B2%E5%85%A5%E6%96%B0%E8%B3%87%E6%96%99%E5%A4%BE%E4%B8%A6%E7%A7%BB%E9%99%A4%E8%88%8A%E7%9A%84-git-%E9%81%A0%E7%AB%AF%E9%80%A3%E7%B5%90&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;cd&lt;/span&gt; thWeb-cc_0930-25
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# 查看目前的遠端連結&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git remote -v
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# 移除舊的遠端連結&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git remote remove origin
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2 class=&#34;relative group&#34;&gt;3. 在 GitHub 上建立新的 repository 
    &lt;div id=&#34;3-%E5%9C%A8-github-%E4%B8%8A%E5%BB%BA%E7%AB%8B%E6%96%B0%E7%9A%84-repository&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700&#34;
            style=&#34;text-decoration-line: none !important;&#34; href=&#34;#3-%E5%9C%A8-github-%E4%B8%8A%E5%BB%BA%E7%AB%8B%E6%96%B0%E7%9A%84-repository&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;前往 GitHub 網站&lt;/li&gt;
&lt;li&gt;點擊右上角的 &amp;ldquo;+&amp;rdquo; → &amp;ldquo;New repository&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Repository name 填入：&lt;code&gt;thWeb-cc_0930-25&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;選擇 Public 或 Private&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;不要&lt;/strong&gt;勾選 &amp;ldquo;Initialize this repository with a README&amp;rdquo;&lt;/li&gt;
&lt;li&gt;點擊 &amp;ldquo;Create repository&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;


&lt;h2 class=&#34;relative group&#34;&gt;4. .gitignore 設定忽略 
    &lt;div id=&#34;4-gitignore-%E8%A8%AD%E5%AE%9A%E5%BF%BD%E7%95%A5&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700&#34;
            style=&#34;text-decoration-line: none !important;&#34; href=&#34;#4-gitignore-%E8%A8%AD%E5%AE%9A%E5%BF%BD%E7%95%A5&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;從 GitHub Desktop 設定&lt;br&gt;
&lt;code&gt;GitHub Desktop → Repository → Repository settings...&lt;/code&gt;&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="/notes/dev/web/copy-project-folder/featured.jpg" />
    </item>
    
    <item>
      <title>文章圖片：Hugo Blowfish主題</title>
      <link>/tc/notes/dev/web/images-in-content/</link>
      <pubDate>Wed, 05 Feb 2025 10:00:00 +0800</pubDate>
      
      <guid>/tc/notes/dev/web/images-in-content/</guid>
      <description>&lt;p&gt;
&lt;figure&gt;
        &lt;img
          class=&#34;my-0 rounded-md nozoom flex justify-center w-custom-330&#34;
          srcset=&#34;
          /notes/dev/web/images-in-content/images/inner_cover_hugo_blowfish_hu_ccb97459c785abc4.jpg 330w,
          /notes/dev/web/images-in-content/images/inner_cover_hugo_blowfish_hu_ecf74778f5d9f865.jpg 660w,
          /notes/dev/web/images-in-content/images/inner_cover_hugo_blowfish_hu_2b26ef262d59e4b6.jpg 1024w,
          /notes/dev/web/images-in-content/images/inner_cover_hugo_blowfish_hu_85363d1284c4ef1d.jpg 2x&#34;
          src=&#34;/notes/dev/web/images-in-content/images/inner_cover_hugo_blowfish_hu_ecf74778f5d9f865.jpg&#34;
          alt=&#34;Inner Cover Image&#34;
        /&gt;
  
  
  &lt;/figure&gt;
&lt;a href=&#34;#figure&#34;&gt;figure簡碼寫法&lt;/a&gt; / &lt;a href=&#34;#md&#34;&gt;MD寫法&lt;/a&gt;&lt;/p&gt;


&lt;h2 class=&#34;relative group&#34;&gt;圖片的資料夾結構 
    &lt;div id=&#34;%E5%9C%96%E7%89%87%E7%9A%84%E8%B3%87%E6%96%99%E5%A4%BE%E7%B5%90%E6%A7%8B&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700&#34;
            style=&#34;text-decoration-line: none !important;&#34; href=&#34;#%E5%9C%96%E7%89%87%E7%9A%84%E8%B3%87%E6%96%99%E5%A4%BE%E7%B5%90%E6%A7%8B&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;在 &lt;strong&gt;Hugo&lt;/strong&gt; 中， &lt;strong&gt;Page Bundle&lt;/strong&gt; 圖片的相對路徑要注意規則。&lt;br&gt;
資料夾裡必須要有一個 &lt;code&gt;index.md&lt;/code&gt;  (・ω・、)&lt;br&gt;
若只有 &lt;code&gt;index.zh-tw.md&lt;/code&gt; 或其他語言的index&lt;br&gt;
Page Bundle會無法辨識，導致無法抓取，圖片破光光 (つд`ﾟ)･ﾟ･&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="/notes/dev/web/images-in-content/featured.jpg" />
    </item>
    
  </channel>
</rss>
