Getting Started with Hugo
Hugo is one of the fastest static site generators available. This guide will help you get started. Installation First, install Hugo on your system. macOS brew install hugo Windows choco install …
Hugo is one of the fastest static site generators available. This guide will help you get started. Installation First, install Hugo on your system. macOS brew install hugo Windows choco install …
Hugo 是目前最快的静态网站生成器之一。本文详细介绍如何搭建个人博客。 为什么选择 Hugo 速度极快:数千页的站点也能毫秒级构建 灵活:强大的模板系统和内容组织方式 免费:完全开源,部署到 GitHub Pages 零成本 安装 Hugo 根据你的操作系统选择安装方式: macOS brew install hugo Windows winget install …
A collection of memories from my recent trip to Japan. Tokyo The city that never sleeps. From the neon-lit streets of Shibuya to the serene gardens of Meiji Shrine, Tokyo is a city of contrasts. …
在团队协作中,一个好的 Git 工作流能够极大提升效率。 常见工作流对比 Git Flow 适合有固定发布周期的项目。 master ───────●───────────●───────── ╲ ╱ develop ───────●───●───●─────────── ╲ ╱ feature ● GitHub Flow 适合持续部署的项目。 从 main 分支创建功能分支 提交更改并创建 …
架构设计是软件开发中最重要也最容易被忽视的环节。 什么是好的架构 好的架构应该满足以下特征: 可维护性 代码应该容易被理解和修改。这需要清晰的模块划分、一致的编码风格和充分的文档。 可测试性 架构应该让测试变得容易,而不是困难。依赖注入、接口抽象和关注点分离都有助于提高可测试性。 可扩展性 系统应该能够在不修改核心代码的情况下增加新功能。插件架构、微服务和事件驱动都是常见的扩展方式。 常见架构模式 …
A curated list of tools I use daily as a developer. Editors Neovim My primary editor. Fast, extensible, and keyboard-centric. # init.lua snippet vim.opt.number = true vim.opt.relativenumber = true …
这是一篇用来测试文章更新时间的帖子。 文章发布于 2025 年 12 月,但内容在 2026 年 5 月进行了更新。 在文章页面中,应该显示原始发布日期和「更新于 2026-05-25」的更新时间。 为什么要更新文章 有些技术文章会随着时间推移而过时。定期更新旧文章可以: 保持信息的准确性 提高搜索引擎排名(Google 偏好新鲜内容) 为读者提供更好的阅读体验 反映你当前的理解和观点 更新记录 …