YunYouJun / hexo-theme-yun

☁️ A fast & light & lovely theme for Hexo. 一个对可爱自以为是的 Hexo 主题。
https://yun.yunyoujun.cn
MIT License
1.38k stars 167 forks source link

[Bug Report] 加密相册页面生成的 Open Graph `<meta>` 标签会泄露图片的实际链接 #382

Closed asadahimeka closed 9 months ago

asadahimeka commented 9 months ago

Describe the bug 加密相册生成的 HTML 文件中将相册图片的实际链接生成为<meta property="og:image" > 标签,会导致加密图片泄露

To Reproduce Steps to reproduce the behavior:

  1. 前往 https://hexo-theme-yun.yunyoujun.cn/albums/sunset
  2. 右键查看页面源代码
  3. 搜索 <meta property="og:image"
  4. 可看到图片链接

Expected behavior 加密相册页面不应生成相关的 OG 标签

Screenshots

image

Desktop (please complete the following information):

YunYouJun commented 9 months ago

Will fix it asap.