Add privacy policy link

This commit is contained in:
Ian Lewis
2019-05-29 22:45:35 -07:00
committed by Adin Scannell
parent 27fb02c4b8
commit d6be24ec3e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ anchor = "smart"
[params]
copyright = "Google LLC"
#privacy_policy = "https://policies.google.com/privacy"
privacy_policy = "https://policies.google.com/privacy"
github_repo = "https://github.com/google/gvisor-website"
# Google Custom Search Engine ID. Remove or comment out to disable search.
+2 -2
View File
@@ -23,8 +23,8 @@
{{ end }}
</div>
<div class="col-12 col-sm-4 text-center py-2 order-sm-2">
{{ with .Site.Params.copyright }}<small class="text-white">&copy; {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small>{{ end }}
{{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}">{{ T "footer_privacy_policy" }}</a></small>{{ end }}
{{ with .Site.Params.copyright }}<div><small class="text-white">&copy; {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small></div>{{ end }}
{{ with .Site.Params.privacy_policy }}<div><small class="ml-1"><a href="{{ . }}">{{ T "footer_privacy_policy" }}</a></small></div>{{ end }}
{{ if not .Site.Params.ui.footer_about_disable }}
{{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}
{{ end }}