您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1.1KB

+++ title = “Referrer Policy” description = “Specify how much info is passed to external links.” categories = [“security”] tags = [“privacy”, “security”, “SEO”, “metadata”] features = [“related content”, “code highlighter”, “snippets”] +++

After Dark adds a {{< external href=“https://w3c.github.io/webappsec-referrer-policy/” text=“Referrer Policy” />}} to improve site security and increase visitor privacy beyond browser defaults using a simple site-wide policy.

Adjust the site-wide default of same-origin from {{< external href=“https://gohugo.io/getting-started/configuration/” text=“Site Configuration” />}}:

[params.seo]
  referrer = "same-origin"

Relax the security policy by:

See {{< external href=“https://w3c.github.io/webappsec-referrer-policy/” text=“Referrer Policy on W3C” />}} for a list of possible values.