前段时间写的一个基于 Cloudflare Workers 搭建 Vless 节点访问 ChatGPT 的文章部分内容失效了,节点还是可以正常翻墙,但是由于代码中的 ProxyIP 失效了,所以无法访问 ChatGPT 的网站了,其实是所有托管在 Cloudflare 的网站都访问不了了。这周末更新了一下那篇文章中的代码,算是短暂修复了。
这个问题不是本文要讨论的内容,但是它让我想到我需要对文章内容的时效性加个必要的“免责声明”。
其实文章过期提醒这个 Feature 在很多博客主题中都有,但是我使用的 hexo-theme-yun 已经进入了维护阶段。
所以我需要自己动手实现这个功能。
在这篇博客中,我将会介绍如何在 hexo-theme-yun 主题中添加文章过期提醒功能。
效果如下:

A while ago I wrote an article about building a Vless node with Cloudflare Workers to access ChatGPT, and part of its content has gone stale. The node itself can still bypass the firewall fine, but the ProxyIP in the code stopped working, so I could no longer reach ChatGPT — in fact, none of the sites hosted on Cloudflare could be reached. This weekend I updated the code in that article, which is a temporary fix.
That problem isn’t what this article is about, but it made me realize I should add a necessary “disclaimer” about the timeliness of my articles.
Actually, an article expiration notice is a feature that exists in many blog themes, but the hexo-theme-yun I use has entered maintenance mode.
So I had to implement this feature myself.
In this post, I’ll show you how to add an article expiration notice to the hexo-theme-yun theme.
Here’s what it looks like:


