summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-05-21 03:49:23 -0400
committerAdin Scannell <adin@scannell.ca>2019-05-29 22:45:35 -0700
commitd6be24ec3e56af1b7edeed1ab85416e08dd76aa6 (patch)
treeebe9c7eacf05d3eb8b73a834e689ecd07f83992f
parent27fb02c4b8f5322c01bdc2fc97b9bec6b4a46b61 (diff)
Add privacy policy link
-rw-r--r--config.toml2
-rw-r--r--layouts/partials/footer.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/config.toml b/config.toml
index 7c30f13fe..a6d662378 100644
--- a/config.toml
+++ b/config.toml
@@ -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.
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 4665ac73c..0ad97db94 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -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 }}