add meta referrer=no-referrer header

This commit is contained in:
mappu 2017-07-09 12:14:45 +12:00
parent 252d77c525
commit 1e367932ba

View File

@ -43,6 +43,7 @@ const pageTemplate string = `<!DOCTYPE html>
<title>{{.CurrentPageName}}{{ if len .CurrentPageName }} - {{end}}{{.WikiTitle}}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="referrer" content="no-referrer">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="alternate" type="application/rss+xml" href="{{.BaseURL}}rss/changes" title="{{.WikiTitle}} - Recent Changes">
<link rel="stylesheet" type="text/css" href="{{.BaseURL}}wiki.css?_={{.SubresourceNonce}}">