gitlin/views/privacy.html

25 行
1.0 KiB
HTML
Raw 通常表示 履歴

{{template "header" .}}
<main style="text-align:center; line-height:30px;">
<h2>Instance Privacy</h2>
{{ if .privacyInformation}}
{{ range $key, $value := .privacyInformation}}
<p>The goal of this page is to bring transparency to the data collected by the instances and to encourage privacy friendly practices.</p>
<p>If this page isn't filled, please contact your instance's maintainer.</p>
<p><b>IP Address logged:</b> {{.IPAddr}}</p>
<p><b>Request URL logged:</b> {{.ReqURL}}</p>
<p><b>User Agent logged:</b> {{.UserAgent}}</p>
<p><b>Diagnostic Information logged:</b> {{.Diagnostics}}</p>
{{ if .PrivacyPolicy }}
<p>You can see the maintainer's <a href=//{{.PrivacyPolicy}}>Privacy Policy</a> for more information.</p>
{{end}}
<h3>Additional Information</h3>
<p>GotHub version: <a href="https://codeberg.org/gothub/gothub/commit/{{.Version}}"><code>{{.Version}}</code></a></p>
<p>Fiber version: {{ .FiberVersion}}, running on {{ .GoVersion}}</p>
<p>Country: {{.Country}}</p>
<p>Cloudflare: {{.Cloudflare}}</p>
<p>ISP: {{.Provider}}</p>
{{end}}
{{end}}
</main>