Posts

VPS-telegram 配置笔记
一、整体流程和核心思路 # 这套方案的目标是:

Hugo 博客自动部署到 VPS 的完整流程记录
这篇笔记完整记录了我把一个本地 Hugo 博客部署到 VPS 的全过程,包括:
本地 Hugo 模板初始化与基础配置 GitHub 仓库与 Actions 自动部署 VPS 上的目录规划与 Nginx 配置 域名解析与 HTTPS 证书申请 常见问题排查 这个过程中经常使用的命令与含义 最终实现的效果是:本地写文章并提交到 GitHub 后,GitHub Actions 自动构建静态站点并发布到 VPS,网页内容自动更新。
Image gallery
·75 字·1 分钟
Hugo theme Stack supports the creation of interactive image galleries using Markdown. It’s powered by PhotoSwipe and its syntax was inspired by Typlog.
To use this feature, the image must be in the same directory as the Markdown file, as it uses Hugo’s page bundle feature to read the dimensions of the image. External images are not supported.

Shortcodes
·114 字·1 分钟
For more details, check out the documentation.
Bilibili video # Tencent video # YouTube video # Generic video file # Your browser cannot play this video. Download video.
Math Typesetting
·115 字·1 分钟
Stack has built-in support for math typesetting using KaTeX.
It’s not enabled by default side-wide, but you can enable it for individual posts by adding math: true to the front matter. Or you can enable it side-wide by adding math = true to the params.article section in config.toml.

Hello World
·41 字·1 分钟
Welcome to Hugo theme Stack. This is your first post. Edit or delete it, then start writing!
For more information about this theme, check the documentation: https://stack.jimmycai.com/
Want a site like this? Check out hugo-theme-stack-stater
Photo by Pawel Czerwinski on Unsplash