<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>S3 on Tai&#39;s Life</title>
    <link>https://taislife.work/zh-tw/tags/s3/</link>
    <description>Recent content in S3 on Tai&#39;s Life</description>
    <generator>Hugo</generator>
    <language>zh-TW</language>
    <lastBuildDate>Fri, 31 May 2024 10:22:49 +0800</lastBuildDate>
    <atom:link href="https://taislife.work/zh-tw/tags/s3/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>[教學] 使用 Cloudflare R2 與 Worker 為 Hugo 網站建立免費圖床</title>
      <link>https://taislife.work/zh-tw/blogs/cloudflare-r2-4-hugo-shortcode/</link>
      <pubDate>Fri, 31 May 2024 10:22:49 +0800</pubDate>
      <guid>https://taislife.work/zh-tw/blogs/cloudflare-r2-4-hugo-shortcode/</guid>
      <description>&lt;h2 id=&#34;前言為何要用-cloudflare-r2-當-hugo-圖床&#34;&gt;前言：為何要用 Cloudflare R2 當 Hugo 圖床？&lt;/h2&gt;&#xA;&lt;p&gt;在經營以 Hugo 建置的靜態網站時，圖片管理一直是一個值得探討的議題。傳統作法是將圖片檔案直接放入專案的 &lt;code&gt;static/&lt;/code&gt; 目錄中，並隨著程式碼一同納入 Git 版本控制。然而，當圖片數量增多時，這種作法會導致 Git 倉庫變得異常肥大，不僅拖慢 &lt;code&gt;git clone&lt;/code&gt; 和 &lt;code&gt;pull&lt;/code&gt; 的速度，也讓備份和管理變得相對麻煩。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
