hexo有没有全局统一配置站外图片403的地方啊? #5452
Answered
by
stevenjoezhang
elarbor
asked this question in
Question / Answer
-
我现在每个md文件都加 |
Beta Was this translation helpful? Give feedback.
Answered by
stevenjoezhang
Apr 4, 2024
Replies: 1 comment
-
在Hexo博客的 hexo.extend.injector.register('head_end', '<meta name="referrer" content="no-referrer" />', 'default'); 之后重新 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
uiolee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在Hexo博客的
scripts
目录下创建一个js文件,名称随意(比如no-referrer.js
),然后输入如下内容之后重新
hexo clean
hexo g
应该就行了