Add descriptions to blog posts and enhance blog list layout

This commit is contained in:
2026-05-14 00:58:50 +08:00
parent 35204b0ba7
commit be4f303f96
14 changed files with 56 additions and 10 deletions
+1
View File
@@ -2,6 +2,7 @@
title: "从 5G 到算力网络:通信行业的技术演进观察" title: "从 5G 到算力网络:通信行业的技术演进观察"
date: 2026-05-12T23:00:00+08:00 date: 2026-05-12T23:00:00+08:00
draft: false draft: false
description: "5G 商用五年,哪些超出预期,哪些没达预期。以及下一个五年通信行业的关键方向:云网融合、通感算一体化、AI 原生网络和低空经济。运营商面临的结构性挑战和机会。"
tags: tags:
- 通信 - 通信
- 5G - 5G
+1
View File
@@ -2,6 +2,7 @@
title: "2026 年 AI 工具链实用观察" title: "2026 年 AI 工具链实用观察"
date: 2026-05-12T21:00:00+08:00 date: 2026-05-12T21:00:00+08:00
draft: false draft: false
description: "2026 年 AI 工具进入务实阶段。实测 DeepSeek V4 Flash 和 Pro 模型的不同场景表现,Agent 智能体的四个落地方向,以及怎么用更少 token 做更多事。"
tags: tags:
- AI - AI
- 工具 - 工具
+1
View File
@@ -2,6 +2,7 @@
title: "子弹日记三年记:极简记录的力量" title: "子弹日记三年记:极简记录的力量"
date: 2026-05-12T22:00:00+08:00 date: 2026-05-12T22:00:00+08:00
draft: false draft: false
description: "三年子弹日记实践心得。为什么纸笔在数字时代反而是优势,我的极简记录体系(月度日志 + 每日记录 + 月度迁移),以及如何与 Todoist 分工协作。"
tags: tags:
- Bullet Journal - Bullet Journal
- 效率 - 效率
+1
View File
@@ -2,6 +2,7 @@
title: "Go Concurrency Patterns in Practice" title: "Go Concurrency Patterns in Practice"
date: 2026-05-15T10:00:00+08:00 date: 2026-05-15T10:00:00+08:00
draft: false 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: tags:
- Go - Go
- Concurrency - Concurrency
+1
View File
@@ -2,6 +2,7 @@
title: "媒体嵌入测试:视频与图片" title: "媒体嵌入测试:视频与图片"
date: 2026-05-16T12:00:00+08:00 date: 2026-05-16T12:00:00+08:00
draft: false draft: false
description: "测试 Hugo 对 B 站视频嵌入和多种图片格式的渲染效果。包含 iframe 视频播放器、横版图片、内联对比和居中展示,验证移动端和桌面端的布局表现。"
--- ---
这是一篇测试文章,验证 Hugo 对 B 站视频嵌入和图片渲染的支持。 这是一篇测试文章,验证 Hugo 对 B 站视频嵌入和图片渲染的支持。
+1
View File
@@ -2,6 +2,7 @@
title: "极简主义的实用指南:少即是多" title: "极简主义的实用指南:少即是多"
date: 2026-05-12T17:00:00+08:00 date: 2026-05-12T17:00:00+08:00
draft: false draft: false
description: "极简不等于空无一物。从手机关通知、统一信息入口、减少收藏即学到,到物品的一年法则和精神层面的少承诺、少比较、少内耗,一套可立刻上手的实用方法。"
tags: tags:
- 极简 - 极简
- 生活 - 生活
+1
View File
@@ -2,6 +2,7 @@
title: "2026 上半年阅读清单与推荐" title: "2026 上半年阅读清单与推荐"
date: 2026-05-12T16:00:00+08:00 date: 2026-05-12T16:00:00+08:00
draft: false draft: false
description: "上半年读过值得推荐的几本书。《软件设计的哲学》讲复杂度管理,《深度工作》讲专注力训练,《凤凰项目》用小说讲 DevOps。附我的阅读节奏安排。"
tags: tags:
- 阅读 - 阅读
- 书单 - 书单
+1
View File
@@ -2,6 +2,7 @@
title: "REST API Design: Mistakes I've Made So You Don't Have To" title: "REST API Design: Mistakes I've Made So You Don't Have To"
date: 2026-05-13T09:00:00+08:00 date: 2026-05-13T09:00:00+08:00
draft: false 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: tags:
- API - API
- REST - REST
+1
View File
@@ -2,6 +2,7 @@
title: "从零搭建个人博客:Hugo + PaperMod 实践记录" title: "从零搭建个人博客:Hugo + PaperMod 实践记录"
date: 2026-05-12T20:00:00+08:00 date: 2026-05-12T20:00:00+08:00
draft: false draft: false
description: "博客框架选型踩坑记录。为什么选 Hugo 而非 Hexo 或 WordPress,PaperMod 主题的安装曲折过程,以及 Snap Hugo 在 LXC 容器里的 cgroup 问题怎么绕过去。从零到上线,每一步都写清楚了。"
tags: tags:
- Hugo - Hugo
- 博客 - 博客
+1
View File
@@ -2,6 +2,7 @@
title: "我的效率工具链 2026" title: "我的效率工具链 2026"
date: 2026-05-12T18:00:00+08:00 date: 2026-05-12T18:00:00+08:00
draft: false draft: false
description: "折腾多年终于稳定下来的工具链。子弹日记做规划,Todoist 管任务,DeepSeek V4 当主力 AI,VS Code 写代码。选工具的原则就四个字:够用就好。"
tags: tags:
- 工具 - 工具
- 效率 - 效率
+1
View File
@@ -2,6 +2,7 @@
title: "Vim Motions That Actually Save Time" title: "Vim Motions That Actually Save Time"
date: 2026-05-14T14:00:00+08:00 date: 2026-05-14T14:00:00+08:00
draft: false 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: tags:
- Vim - Vim
- Productivity - Productivity
+1
View File
@@ -2,6 +2,7 @@
title: "VPS 新手入门:从购买到上线一个网站" title: "VPS 新手入门:从购买到上线一个网站"
date: 2026-05-12T19:00:00+08:00 date: 2026-05-12T19:00:00+08:00
draft: false draft: false
description: "买了一台云服务器之后怎么让它跑起来。从 SSH 登录、创建普通用户、配置密钥认证、设置 ufw 防火墙到用 Nginx 部署静态网站,一套完整的新手流程。"
tags: tags:
- Linux - Linux
- VPS - VPS
+34
View File
@@ -0,0 +1,34 @@
{{ define "main" }}
<div class="hx:mx-auto hx:flex hextra-max-page-width">
{{ partial "sidebar.html" (dict "context" . "disableSidebar" true "displayPlaceholder" true) }}
<article class="hx:w-full hx:break-words hx:flex hx:min-h-[calc(100vh-var(--navbar-height))] hx:min-w-0 hx:justify-center hx:pb-8 hx:pr-[calc(env(safe-area-inset-right)-1.5rem)]">
<main id="content" class="hx:w-full hx:min-w-0 hextra-max-content-width hx:px-6 hx:pt-4 hx:md:px-12">
{{ partial "breadcrumb.html" (dict "page" . "enable" false) }}
<br class="hx:mt-1.5 hx:text-sm" />
<div class="content">{{ .Content }}</div>
{{- $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 }}
<div class="hx:mb-10">
<h3><a style="color: inherit; text-decoration: none;" class="hx:block hx:font-semibold hx:mt-8 hx:text-2xl" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<p class="hx:opacity-50 hx:text-sm hx:mt-1 hx:leading-7">{{ partial "utils/format-date" .Date }}</p>
{{ if site.Params.blog.list.displayTags }}
<div class="hx:text-sm hx:leading-7">
{{ partial "tags.html" (dict "context" .) }}
</div>
{{ end }}
<a href="{{ .RelPermalink }}" style="color: inherit; text-decoration: none;">
<p class="hx:opacity-80 hx:mt-2 hx:leading-7">{{- partial "utils/page-description" . -}}</p>
</a>
</div>
{{ end -}}
{{- if gt $paginator.TotalPages 1 -}}
{{ partial "components/blog-pager.html" $paginator }}
{{- end -}}
</main>
</article>
<div class="hx:max-xl:hidden hx:h-0 hx:w-64 hx:shrink-0"></div>
</div>
{{- end -}}
+10 -10
View File
@@ -20,22 +20,22 @@
<h3> <h3>
<a <a
style="color: inherit; text-decoration: none" style="color: inherit; text-decoration: none"
class="hx:block hx:font-semibold hx:text-xl hx:hover:text-primary-600 hx:dark:hover:text-primary-400 hx:transition-colors" class="hx:block hx:font-semibold hx:text-xl"
href="{{ .RelPermalink }}" href="{{ .RelPermalink }}"
>{{ .Title }}</a >{{ .Title }}</a
> >
</h3> </h3>
{{- if site.Params.blog.list.displayTags }} <p class="hx:opacity-50 hx:text-sm hx:mt-1 hx:leading-7">
<div class="hx:text-sm hx:leading-7">
{{ partial "tags.html" (dict "context" .) }}
</div>
{{- end }}
<p class="hx:opacity-80 hx:mt-2 hx:leading-7">
{{- partial "utils/page-description" . -}}
</p>
<p class="hx:opacity-50 hx:text-sm hx:mt-2 hx:leading-7">
{{ partial "utils/format-date" .Date }} {{ partial "utils/format-date" .Date }}
</p> </p>
<a
href="{{ .RelPermalink }}"
style="color: inherit; text-decoration: none"
>
<p class="hx:opacity-80 hx:mt-2 hx:leading-7">
{{- partial "utils/page-description" . -}}
</p>
</a>
</div> </div>
{{- end }} {{- if gt (len $pages) 6 }} {{- end }} {{- if gt (len $pages) 6 }}
<p class="hx:mt-6"> <p class="hx:mt-6">