diff --git a/content/blog/5g-thoughts.md b/content/blog/5g-thoughts.md index 0363627..76a6583 100644 --- a/content/blog/5g-thoughts.md +++ b/content/blog/5g-thoughts.md @@ -2,6 +2,7 @@ title: "从 5G 到算力网络:通信行业的技术演进观察" date: 2026-05-12T23:00:00+08:00 draft: false +description: "5G 商用五年,哪些超出预期,哪些没达预期。以及下一个五年通信行业的关键方向:云网融合、通感算一体化、AI 原生网络和低空经济。运营商面临的结构性挑战和机会。" tags: - 通信 - 5G diff --git a/content/blog/ai-tools-2026.md b/content/blog/ai-tools-2026.md index b300d44..98f3799 100644 --- a/content/blog/ai-tools-2026.md +++ b/content/blog/ai-tools-2026.md @@ -2,6 +2,7 @@ title: "2026 年 AI 工具链实用观察" date: 2026-05-12T21:00:00+08:00 draft: false +description: "2026 年 AI 工具进入务实阶段。实测 DeepSeek V4 Flash 和 Pro 模型的不同场景表现,Agent 智能体的四个落地方向,以及怎么用更少 token 做更多事。" tags: - AI - 工具 diff --git a/content/blog/bullet-journal.md b/content/blog/bullet-journal.md index 31dda96..5b67161 100644 --- a/content/blog/bullet-journal.md +++ b/content/blog/bullet-journal.md @@ -2,6 +2,7 @@ title: "子弹日记三年记:极简记录的力量" date: 2026-05-12T22:00:00+08:00 draft: false +description: "三年子弹日记实践心得。为什么纸笔在数字时代反而是优势,我的极简记录体系(月度日志 + 每日记录 + 月度迁移),以及如何与 Todoist 分工协作。" tags: - Bullet Journal - 效率 diff --git a/content/blog/go-concurrency.md b/content/blog/go-concurrency.md index d35f43d..1cdd81a 100644 --- a/content/blog/go-concurrency.md +++ b/content/blog/go-concurrency.md @@ -2,6 +2,7 @@ title: "Go Concurrency Patterns in Practice" date: 2026-05-15T10:00:00+08:00 draft: false +description: "Go concurrency beyond the basics. Worker pools for bounded parallelism, context propagation for cancellation, select loops for channel coordination — three patterns that hold up in production." tags: - Go - Concurrency diff --git a/content/blog/media-test.md b/content/blog/media-test.md index 41c1557..f5be3e2 100644 --- a/content/blog/media-test.md +++ b/content/blog/media-test.md @@ -2,6 +2,7 @@ title: "媒体嵌入测试:视频与图片" date: 2026-05-16T12:00:00+08:00 draft: false +description: "测试 Hugo 对 B 站视频嵌入和多种图片格式的渲染效果。包含 iframe 视频播放器、横版图片、内联对比和居中展示,验证移动端和桌面端的布局表现。" --- 这是一篇测试文章,验证 Hugo 对 B 站视频嵌入和图片渲染的支持。 diff --git a/content/blog/minimalism.md b/content/blog/minimalism.md index ea3dcf0..584c617 100644 --- a/content/blog/minimalism.md +++ b/content/blog/minimalism.md @@ -2,6 +2,7 @@ title: "极简主义的实用指南:少即是多" date: 2026-05-12T17:00:00+08:00 draft: false +description: "极简不等于空无一物。从手机关通知、统一信息入口、减少收藏即学到,到物品的一年法则和精神层面的少承诺、少比较、少内耗,一套可立刻上手的实用方法。" tags: - 极简 - 生活 diff --git a/content/blog/reading-2026.md b/content/blog/reading-2026.md index c9816c9..fbb1815 100644 --- a/content/blog/reading-2026.md +++ b/content/blog/reading-2026.md @@ -2,6 +2,7 @@ title: "2026 上半年阅读清单与推荐" date: 2026-05-12T16:00:00+08:00 draft: false +description: "上半年读过值得推荐的几本书。《软件设计的哲学》讲复杂度管理,《深度工作》讲专注力训练,《凤凰项目》用小说讲 DevOps。附我的阅读节奏安排。" tags: - 阅读 - 书单 diff --git a/content/blog/rest-api-design.md b/content/blog/rest-api-design.md index d925ba1..5748001 100644 --- a/content/blog/rest-api-design.md +++ b/content/blog/rest-api-design.md @@ -2,6 +2,7 @@ title: "REST API Design: Mistakes I've Made So You Don't Have To" date: 2026-05-13T09:00:00+08:00 draft: false +description: "Lessons from real-world API design. Why version early, paginate everything, standardize error responses, and add idempotency keys. Plus a practical deprecation strategy with Sunset headers." tags: - API - REST diff --git a/content/blog/setup-blog.md b/content/blog/setup-blog.md index 05f63d7..b0df3fc 100644 --- a/content/blog/setup-blog.md +++ b/content/blog/setup-blog.md @@ -2,6 +2,7 @@ title: "从零搭建个人博客:Hugo + PaperMod 实践记录" date: 2026-05-12T20:00:00+08:00 draft: false +description: "博客框架选型踩坑记录。为什么选 Hugo 而非 Hexo 或 WordPress,PaperMod 主题的安装曲折过程,以及 Snap Hugo 在 LXC 容器里的 cgroup 问题怎么绕过去。从零到上线,每一步都写清楚了。" tags: - Hugo - 博客 diff --git a/content/blog/tool-setup.md b/content/blog/tool-setup.md index 17d66a0..429b657 100644 --- a/content/blog/tool-setup.md +++ b/content/blog/tool-setup.md @@ -2,6 +2,7 @@ title: "我的效率工具链 2026" date: 2026-05-12T18:00:00+08:00 draft: false +description: "折腾多年终于稳定下来的工具链。子弹日记做规划,Todoist 管任务,DeepSeek V4 当主力 AI,VS Code 写代码。选工具的原则就四个字:够用就好。" tags: - 工具 - 效率 diff --git a/content/blog/vim-motions.md b/content/blog/vim-motions.md index 5707af3..455a97a 100644 --- a/content/blog/vim-motions.md +++ b/content/blog/vim-motions.md @@ -2,6 +2,7 @@ title: "Vim Motions That Actually Save Time" date: 2026-05-14T14:00:00+08:00 draft: false +description: "Which Vim motions are worth the muscle memory investment? A practical three-tier ranking from non-negotiable (ci, %, dot) to nice-to-have (macros, jump list), based on three years of daily use." tags: - Vim - Productivity diff --git a/content/blog/vps-basics.md b/content/blog/vps-basics.md index a8bbe50..7466171 100644 --- a/content/blog/vps-basics.md +++ b/content/blog/vps-basics.md @@ -2,6 +2,7 @@ title: "VPS 新手入门:从购买到上线一个网站" date: 2026-05-12T19:00:00+08:00 draft: false +description: "买了一台云服务器之后怎么让它跑起来。从 SSH 登录、创建普通用户、配置密钥认证、设置 ufw 防火墙到用 Nginx 部署静态网站,一套完整的新手流程。" tags: - Linux - VPS diff --git a/layouts/blog/list.html b/layouts/blog/list.html new file mode 100644 index 0000000..9699a2d --- /dev/null +++ b/layouts/blog/list.html @@ -0,0 +1,34 @@ +{{ define "main" }} +
+ {{ partial "sidebar.html" (dict "context" . "disableSidebar" true "displayPlaceholder" true) }} +
+
+ {{ partial "breadcrumb.html" (dict "page" . "enable" false) }} +
+
{{ .Content }}
+ {{- $pages := partial "utils/sort-pages" (dict "page" . "by" site.Params.blog.list.sortBy "order" site.Params.blog.list.sortOrder) -}} + {{- $pagerSize := site.Params.blog.list.pagerSize | default 10 -}} + {{- $paginator := .Paginate $pages $pagerSize -}} + {{- range $paginator.Pages }} +
+

{{ .Title }}

+

{{ partial "utils/format-date" .Date }}

+ {{ if site.Params.blog.list.displayTags }} +
+ {{ partial "tags.html" (dict "context" .) }} +
+ {{ end }} + +

{{- partial "utils/page-description" . -}}

+
+
+ {{ end -}} + + {{- if gt $paginator.TotalPages 1 -}} + {{ partial "components/blog-pager.html" $paginator }} + {{- end -}} +
+
+
+
+{{- end -}} diff --git a/layouts/hextra-home.html b/layouts/hextra-home.html index 82e9d6f..8735055 100644 --- a/layouts/hextra-home.html +++ b/layouts/hextra-home.html @@ -20,22 +20,22 @@

{{ .Title }}

- {{- if site.Params.blog.list.displayTags }} -
- {{ partial "tags.html" (dict "context" .) }} -
- {{- end }} -

- {{- partial "utils/page-description" . -}} -

-

+

{{ partial "utils/format-date" .Date }}

+ +

+ {{- partial "utils/page-description" . -}} +

+
{{- end }} {{- if gt (len $pages) 6 }}