Skip to content

hugo next 4.5.3主题生成的html文件无法读取图片 #117

Answered by RenLangMan
RenLangMan asked this question in Q&A
Discussion options

You must be logged in to vote

此行代码

<meta itemprop="keywords" content="{{ if and .IsPage (isset .Params "tags")}}{{ delimit .Params.tags "," }}{{ else }}{{ .Site.Params.keywords }}{{ end }}" />

后继续添加代码 ,修改为

<meta itemprop="keywords" content="{{ if and .IsPage (isset .Params "tags")}}{{ delimit .Params.tags "," }}{{ else }}{{ .Site.Params.keywords }}{{ end }}" />
<meta name="referrer" content="no-referrer" />

用以正常下载图床图片

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RenLangMan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant