跳过正文
  1. Pages/

文章归档

863 字·2 分钟·

按时间浏览所有已发布文章。

全部文章

Hello World

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
Hugo 博客自动部署到 VPS 的完整流程记录

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

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.

相关文章

Links

66 字·1 分钟
To use this feature, add links section to frontmatter. This page’s frontmatter: 1 2 3 4 5 6 7 8 9 links: - title: GitHub description: GitHub is the world's largest software development platform. website: https://github.com image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png - title: TypeScript description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. website: https://www.typescriptlang.org image: ts-logo-128.jpg image field accepts both local and external images.

搜索

41 字·1 分钟
新版博客使用 Blowfish 的全站即时搜索。请点击页面顶部的搜索图标,或按下 ⌘ K / Ctrl K 开始搜索。