Welcome to my Hugo-powered website repository! 🚀
這是我的 Hugo 靜態網站專案,透過 Hugo,我可以輕鬆構建快速又靈活的靜態網站!💻
🚀 Fast and Lightweight | 快速與輕量 Hugo 的靜態網站生成速度非常快,適合部署到任何平台!
🎨 Fully Customizable | 完全自定義 輕鬆套用不同主題,並根據需求調整網站樣式。
🌍 SEO Friendly | 友善搜尋引擎 內建 SEO 功能,幫助網站更容易被搜尋引擎索引。
-
Clone this repository 克隆這個倉庫:
git clone https://github.com/Warmlatte/Logic-Loom.git cd your-repo -
Install Hugo 安裝 Hugo,請參考官方文檔:Hugo Quick Start。
-
Run the local server 啟動本地伺服器,預覽網站:
hugo server
在瀏覽器打開 http://localhost:1313。
-
Build the site 編譯網站,輸出的靜態文件存放於 public/ 目錄中:
hugo
Logic-Loom/
├── archetypes/ # 預設文章模板
├── assets/ # 自定義的靜態資源(SASS, JS 等)
├── config/ # 配置目錄,包含多語言設定(languages.en.toml)
├── content/ # 網站內容(文章存放處)
├── layouts/ # 網站佈局與模板
├── static/ # 靜態資源(圖片、CSS、JS 等)
├── themes/ # 主題目錄(目前使用 Blowfish 主題)
├── resources/ # Hugo 生成的資源緩存
└── config.toml # 主網站配置檔案
部署
可以將網站部署到以下平台: • GitHub Pages • Netlify • Vercel
請參考官方 Hugo 的部署指南:Hosting and Deployment 以獲取詳細步驟。