Skip to content

Perlou/go-blog

Repository files navigation

Perlou's Blog

slow is fast

基于 Hugo + Stack 主题构建的现代化个人技术博客,专注于前端开发、全栈技术和 AI 应用。

🌐 在线访问perlou.top

🚀 快速开始

环境要求

本地开发

# 克隆项目
git clone https://github.com/Perlou/go-blog.git
cd go-blog

# 初始化主题
git submodule update --init --recursive

# 启动开发服务器
hugo server

访问 http://localhost:1313 预览博客。

📝 写作指南

创建文章

hugo new content/post/YYYY-MM-DD-article-title.md

Front Matter 示例

+++
date = '2025-11-20T10:00:00+08:00'
draft = false
title = '文章标题'
categories = ['技术']
tags = ['Hugo', 'Blog']
+++

发布

./publish.sh

详见:PUBLISH_WORKFLOW.md

📦 部署

使用 Docker + GitHub Actions 自动化部署。

Docker 快速部署

docker build -t go-blog:latest .
docker-compose up -d

手动构建

hugo --minify

配置指南:DEPLOYMENT.md

⚙️ 核心配置

  • Hugo 配置hugo.yaml - 站点设置、SEO、评论系统
  • Nginx:静态资源缓存、Gzip 压缩
  • CDN:Cloudflare 全球加速 - 配置指南

🎨 主题

Hugo Theme Stack - 现代简洁、响应式设计、支持深色模式

📚 文档

🛠️ 技术栈

🔗 链接

📄 许可


Made with ❤️ by Perlou

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published