{"version":"https://jsonfeed.org/version/1.1","title":"奇诺分享 | blog.ccino.cc - 重在分享","home_page_url":"https://blog.ccino.cc","feed_url":"https://blog-ccino-cc.pages.dev/json/","description":"","icon":"https://cdn-blog-ccino-cc.ccino.cc/blog-ccino-cc/production/images/channel-6ebae07c242a357bee27d74ca3e4b3ce.png","favicon":"https://cdn-blog-ccino-cc.ccino.cc/blog-ccino-cc/production/images/favicon-bdc56a1bbdd3d9f75032075380339348.jpg","authors":[{"name":"奇诺分享"}],"language":"zh-cn","items":[{"id":"wRYR61gQSWh","title":"Hugo by Github with Cloudflare Pages","attachments":[{"url":"https://immmmm.com/hugo-github-cloudflare/","mime_type":"text/html"}],"url":"https://blog.ccino.cc/i/Hugo by Github with Cloudflare Pages","external_url":"https://immmmm.com/hugo-github-cloudflare/","content_html":"<p>在线预览：<a href=\"https://lmm.pages.dev/\" rel=\"noopener noreferrer\" target=\"_blank\">https://lmm.pages.dev</a></p><p>部署全程 Web 端操作，无需本地安装 Hugo 、配置 Git 、连通 Github 等操作。浏览器 OS，飞起！</p><p><br></p><h3>Github 导入仓库</h3><p>点击导入&nbsp;<a href=\"https://github.com/new/import\" rel=\"noopener noreferrer\" target=\"_blank\">https://github.com/new/import</a></p><p><br></p><p><img src=\"https://r2.immmmm.com/2022/01/cf-hugo-1.png\"></p><pre class=\"ql-syntax\" spellcheck=\"false\">https://github.com/lmm214/cloudflare-hugo-theme-stack\n</pre><p>填入已配置好主题 (&nbsp;<a href=\"https://github.com/CaiJimmy/hugo-theme-stack\" rel=\"noopener noreferrer\" target=\"_blank\">hugo-theme-stack</a>&nbsp;) 的仓库，再给自己的取个仓库名，设置公开、私人都可以。</p><p><img src=\"https://r2.immmmm.com/2022/01/cf-hugo-2.png\"><img src=\"https://r2.immmmm.com/2022/01/cf-hugo-3.png\">仓库导入完成</p><h3>Cloudflare Pages 创建项目</h3><p><img src=\"https://r2.immmmm.com/2022/01/cf-hugo-4.png\"></p><p>Cloudflare Dash&nbsp;<a href=\"https://dash.cloudflare.com/\" rel=\"noopener noreferrer\" target=\"_blank\">https://dash.cloudflare.com/</a>&nbsp;点导航栏&nbsp;Pages&nbsp;，点&nbsp;创建项目，授权刚创建的 Github 仓库。</p><p><img src=\"https://r2.immmmm.com/2022/01/cf-hugo-5.png\"><img src=\"https://r2.immmmm.com/2022/01/cf-hugo-6.png\">修改项目名称</p><p>项目名称可以自定义，我改成了&nbsp;lmm&nbsp;，CF 会分配对应的二级域名供访问。生产分支默认&nbsp;main&nbsp;即可。</p><p><img src=\"https://r2.immmmm.com/2022/01/cf-hugo-7.png\"></p><p>框架预设选择&nbsp;Hugo&nbsp;，添加环境变量，指定高版本的&nbsp;HUGO_VERSION&nbsp;为&nbsp;0.92.0</p><p><img src=\"https://r2.immmmm.com/2022/01/cf-hugo-8.png\"></p><p><img src=\"https://r2.immmmm.com/2022/01/cf-hugo-9.png\">Pages 创建完成</p><p>撒花 🎉</p><p><br></p><h3>然后，然后</h3><p>了解主题配置&nbsp;<a href=\"https://docs.stack.jimmycai.com/zh/configuration/\" rel=\"noopener noreferrer\" target=\"_blank\">https://docs.stack.jimmycai.com/zh/configuration/</a>&nbsp;，修改站点信息。</p><p>日常发文在&nbsp;content/post&nbsp;文件夹下新增 md 文件即可。</p>","content_text":"在线预览：https://lmm.pages.dev\n\n部署全程 Web 端操作，无需本地安装 Hugo 、配置 Git 、连通 Github 等操作。浏览器 OS，飞起！\n\n\n\n\n\nGITHUB 导入仓库\n\n点击导入 https://github.com/new/import\n\n\n\n\n[https://r2.immmmm.com/2022/01/cf-hugo-1.png]\n\nhttps://github.com/lmm214/cloudflare-hugo-theme-stack\n\n\n填入已配置好主题 ( hugo-theme-stack ) 的仓库，再给自己的取个仓库名，设置公开、私人都可以。\n\n[https://r2.immmmm.com/2022/01/cf-hugo-2.png][https://r2.immmmm.com/2022/01/cf-hugo-3.png]仓库导入完成\n\n\nCLOUDFLARE PAGES 创建项目\n\n[https://r2.immmmm.com/2022/01/cf-hugo-4.png]\n\nCloudflare Dash https://dash.cloudflare.com/ 点导航栏 Pages ，点 创建项目，授权刚创建的 Github\n仓库。\n\n[https://r2.immmmm.com/2022/01/cf-hugo-5.png][https://r2.immmmm.com/2022/01/cf-hugo-6.png]修改项目名称\n\n项目名称可以自定义，我改成了 lmm ，CF 会分配对应的二级域名供访问。生产分支默认 main 即可。\n\n[https://r2.immmmm.com/2022/01/cf-hugo-7.png]\n\n框架预设选择 Hugo ，添加环境变量，指定高版本的 HUGO_VERSION 为 0.92.0\n\n[https://r2.immmmm.com/2022/01/cf-hugo-8.png]\n\n[https://r2.immmmm.com/2022/01/cf-hugo-9.png]Pages 创建完成\n\n撒花 🎉\n\n\n\n\n\n然后，然后\n\n了解主题配置 https://docs.stack.jimmycai.com/zh/configuration/ ，修改站点信息。\n\n日常发文在 content/post 文件夹下新增 md 文件即可。","date_published":"2024-10-05T00:02:29.424Z","_microfeed":{"is_audio":false,"is_document":false,"is_external_url":true,"is_video":false,"is_image":false,"web_url":"https://blog-ccino-cc.pages.dev/i/hugo-by-github-with-cloudflare-pages-wRYR61gQSWh/","json_url":"https://blog-ccino-cc.pages.dev/i/wRYR61gQSWh/json/","rss_url":"https://blog-ccino-cc.pages.dev/i/wRYR61gQSWh/rss/","guid":"wRYR61gQSWh","status":"published","itunes:episodeType":"full","date_published_short":"Fri Oct 04 2024","date_published_ms":1728086549424}}],"_microfeed":{"microfeed_version":"0.1.2","base_url":"https://blog-ccino-cc.pages.dev","categories":[],"subscribe_methods":[{"name":"RSS","type":"rss","url":"https://blog-ccino-cc.pages.dev/rss/","image":"https://blog-ccino-cc.pages.dev/assets/brands/subscribe/rss.png","enabled":true,"editable":false,"id":"7-6m9ozpyuG"},{"name":"JSON","type":"json","url":"https://blog-ccino-cc.pages.dev/json/","image":"https://blog-ccino-cc.pages.dev/assets/brands/subscribe/json.png","enabled":true,"editable":false,"id":"kFHio_oK78v"}],"description_text":"","copyright":"©2024","itunes:type":"episodic","items_sort_order":"newest_first"}}