<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>技術 on 亂筆</title>
        <link>https://blog.l3zc.com/zh-hant-tw/tags/%E6%8A%80%E8%A1%93/</link>
        <description>Recent content in 技術 on 亂筆</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>zh-hant-tw</language>
        <lastBuildDate>Wed, 08 Jul 2026 17:02:34 +0800</lastBuildDate><atom:link href="https://blog.l3zc.com/zh-hant-tw/tags/%E6%8A%80%E8%A1%93/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>解決Hexo deploy到GithubPages時自定義域名失效的問題</title>
            <link>https://blog.l3zc.com/zh-hant-tw/2022/04/resolve-githubpages-cname-hexo/</link>
            <pubDate>Sat, 30 Apr 2022 18:07:38 +0000</pubDate>
            <guid>https://blog.l3zc.com/zh-hant-tw/2022/04/resolve-githubpages-cname-hexo/</guid>
            <description>&lt;p&gt;Github的repo有個自定義域名的功能，其實就是在repo的根目錄下生成一個CNAME文件，裡面放著自定義的域名，然而Hexo每次deploy都會把這個CNAME文件覆蓋掉，結果就是自定義域名失效了。&lt;/p&gt;&#xA;&lt;!-- more --&gt;&#xA;&lt;p&gt;解決方案很簡單，&lt;strong&gt;把repo裡的CNAME文件下載下來，放到Hexo的/source目錄裡&lt;/strong&gt;，個人猜測deploy是增量更新，只需經過第一次的deploy就不會出現丟CNAME的情況。&lt;/p&gt;&#xA;</description>
        </item></channel>
</rss>
