<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on phywei' blog</title><link>https://www.phyweicheng.com/post/</link><description>Recent content in Posts on phywei' blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><copyright>© 2026 phywei</copyright><lastBuildDate>Thu, 07 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.phyweicheng.com/post/index.xml" rel="self" type="application/rss+xml"/><item><title>Hello World</title><link>https://www.phyweicheng.com/p/hello-world/</link><pubDate>Sun, 06 Mar 2022 00:00:00 +0000</pubDate><guid>https://www.phyweicheng.com/p/hello-world/</guid><description>&lt;p&gt;Welcome to Hugo theme Stack. This is your first post. Edit or delete it, then start writing!&lt;/p&gt;&#10;&lt;p&gt;For more information about this theme, check the documentation: &lt;a href="https://stack.jimmycai.com/" target="_blank" rel="noreferrer"&gt;https://stack.jimmycai.com/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Want a site like this? Check out &lt;a href="https://github.com/CaiJimmy/hugo-theme-stack-starter" target="_blank" rel="noreferrer"&gt;hugo-theme-stack-stater&lt;/a&gt;&lt;/p&gt;&#10;&lt;blockquote&gt;&lt;p&gt;Photo by &lt;a href="https://unsplash.com/@pawel_czerwinski" target="_blank" rel="noreferrer"&gt;Pawel Czerwinski&lt;/a&gt; on &lt;a href="https://unsplash.com/" target="_blank" rel="noreferrer"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.phyweicheng.com/p/hello-world/cover.jpg"/></item><item><title>购买 VPS 后如何完成密钥登录、v2ray 节点搭建与测试</title><link>https://www.phyweicheng.com/p/vps-v2ray-setup-and-test/</link><pubDate>Thu, 07 May 2026 00:00:00 +0000</pubDate><guid>https://www.phyweicheng.com/p/vps-v2ray-setup-and-test/</guid><description>&lt;p&gt;这篇笔记整理了一台新 VPS 从买来之后到真正可用的完整流程，重点包括三部分：&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;把服务器改成仅允许 SSH 密钥登录&lt;/li&gt;&#10;&lt;li&gt;利用脚本快速搭建 v2ray 节点&lt;/li&gt;&#10;&lt;li&gt;对 VPS 本身和节点线路做测试&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;这样整理之后，后续如果重新买服务器、迁移节点，或者帮别人重复搭建，基本都可以直接照着做。&lt;/p&gt;</description></item><item><title>VPS-telegram 配置笔记</title><link>https://www.phyweicheng.com/p/vps-telegram-bot-note/</link><pubDate>Thu, 30 Apr 2026 00:00:00 +0000</pubDate><guid>https://www.phyweicheng.com/p/vps-telegram-bot-note/</guid><description>&lt;h2 class="relative group"&gt;一、整体流程和核心思路&#10; &lt;div id="一整体流程和核心思路" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e4%b8%80%e6%95%b4%e4%bd%93%e6%b5%81%e7%a8%8b%e5%92%8c%e6%a0%b8%e5%bf%83%e6%80%9d%e8%b7%af" aria-label="锚点"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;这套方案的目标是：&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.phyweicheng.com/p/vps-telegram-bot-note/cover.png"/></item><item><title>Hugo 博客自动部署到 VPS 的完整流程记录</title><link>https://www.phyweicheng.com/p/hugo-vps-auto-deploy/</link><pubDate>Tue, 28 Apr 2026 00:00:00 +0000</pubDate><guid>https://www.phyweicheng.com/p/hugo-vps-auto-deploy/</guid><description>&lt;p&gt;这篇笔记完整记录了我把一个本地 Hugo 博客部署到 VPS 的全过程，包括：&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;本地 Hugo 模板初始化与基础配置&lt;/li&gt;&#10;&lt;li&gt;GitHub 仓库与 Actions 自动部署&lt;/li&gt;&#10;&lt;li&gt;VPS 上的目录规划与 Nginx 配置&lt;/li&gt;&#10;&lt;li&gt;域名解析与 HTTPS 证书申请&lt;/li&gt;&#10;&lt;li&gt;常见问题排查&lt;/li&gt;&#10;&lt;li&gt;这个过程中经常使用的命令与含义&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;最终实现的效果是：本地写文章并提交到 GitHub 后，GitHub Actions 自动构建静态站点并发布到 VPS，网页内容自动更新。&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.phyweicheng.com/p/hugo-vps-auto-deploy/cover.png"/></item><item><title>Markdown Syntax Guide</title><link>https://www.phyweicheng.com/p/markdown-syntax-guide/</link><pubDate>Thu, 07 Sep 2023 00:00:00 +0000</pubDate><guid>https://www.phyweicheng.com/p/markdown-syntax-guide/</guid><description>&lt;p&gt;This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.&lt;/p&gt;</description></item><item><title>Image gallery</title><link>https://www.phyweicheng.com/p/image-gallery/</link><pubDate>Sat, 26 Aug 2023 00:00:00 +0000</pubDate><guid>https://www.phyweicheng.com/p/image-gallery/</guid><description>&lt;p&gt;Hugo theme Stack supports the creation of interactive image galleries using Markdown. It&amp;rsquo;s powered by &lt;a href="https://photoswipe.com/" target="_blank" rel="noreferrer"&gt;PhotoSwipe&lt;/a&gt; and its syntax was inspired by &lt;a href="https://typlog.com/" target="_blank" rel="noreferrer"&gt;Typlog&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;To use this feature, the image must be in the same directory as the Markdown file, as it uses Hugo&amp;rsquo;s page bundle feature to read the dimensions of the image. &lt;strong&gt;External images are not supported.&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Shortcodes</title><link>https://www.phyweicheng.com/p/shortcodes/</link><pubDate>Fri, 25 Aug 2023 00:00:00 +0000</pubDate><guid>https://www.phyweicheng.com/p/shortcodes/</guid><description>&lt;p&gt;For more details, check out the &lt;a href="https://stack.jimmycai.com/writing/shortcodes" target="_blank" rel="noreferrer"&gt;documentation&lt;/a&gt;.&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Bilibili video&#10; &lt;div id="bilibili-video" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#bilibili-video" aria-label="锚点"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&#10;&#10;&#10;&#10;&#10; &#10;&#10;&lt;div class="legacy-video-embed"&gt;&#10; &lt;iframe&#10; src="https://player.bilibili.com/player.html?as_wide=1&amp;amp;high_quality=1&amp;amp;page=1&amp;bvid=BV1d4411N7zD"&#10; loading="lazy"&#10; scrolling="no"&#10; allowfullscreen&#10; title="Bilibili video"&gt;&lt;/iframe&gt;&#10;&lt;/div&gt;&#10;&#10;&#10;&lt;h2 class="relative group"&gt;Tencent video&#10; &lt;div id="tencent-video" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#tencent-video" aria-label="锚点"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&#10;&lt;div class="legacy-video-embed"&gt;&#10; &lt;iframe&#10; src="https://v.qq.com/txp/iframe/player.html?vid=g0014r3khdw&amp;auto=0"&#10; loading="lazy"&#10; scrolling="no"&#10; allowfullscreen&#10; title="Tencent video"&gt;&lt;/iframe&gt;&#10;&lt;/div&gt;&#10;&#10;&#10;&lt;h2 class="relative group"&gt;YouTube video&#10; &lt;div id="youtube-video" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#youtube-video" aria-label="锚点"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&#10;&#10; &#10; &#10; &lt;div class="legacy-video-embed"&gt;&#10; &lt;iframe&#10; src="https://www.youtube.com/embed/0qwALOOvUik"&#10; loading="lazy"&#10; allowfullscreen&#10; title="YouTube video"&gt;&lt;/iframe&gt;&#10; &lt;/div&gt;&#10;&#10;&#10;&#10;&lt;h2 class="relative group"&gt;Generic video file&#10; &lt;div id="generic-video-file" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#generic-video-file" aria-label="锚点"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&#10;&lt;figure&gt;&#10; &lt;video&#10; class="w-full rounded-md"&#10; controls&#10; preload="metadata"&#10; src="https://www.w3schools.com/tags/movie.mp4"&#10; &#10; &#10; &gt;&#10; &lt;p&gt;Your browser cannot play this video. &lt;a href="https://www.w3schools.com/tags/movie.mp4"&gt;Download video&lt;/a&gt;.&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.phyweicheng.com/p/shortcodes/cover.jpg"/></item><item><title>Math Typesetting</title><link>https://www.phyweicheng.com/p/math-typesetting/</link><pubDate>Thu, 24 Aug 2023 00:00:00 +0000</pubDate><guid>https://www.phyweicheng.com/p/math-typesetting/</guid><description>&lt;p&gt;Stack has built-in support for math typesetting using &lt;a href="https://katex.org/" target="_blank" rel="noreferrer"&gt;KaTeX&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;It&amp;rsquo;s not enabled by default side-wide,&lt;/strong&gt; but you can enable it for individual posts by adding &lt;code&gt;math: true&lt;/code&gt; to the front matter. Or you can enable it side-wide by adding &lt;code&gt;math = true&lt;/code&gt; to the &lt;code&gt;params.article&lt;/code&gt; section in &lt;code&gt;config.toml&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>