diff --git a/doc/config.toml b/doc/config.toml index 515e6e3e598..dac3f8050b3 100644 --- a/doc/config.toml +++ b/doc/config.toml @@ -114,7 +114,11 @@ section = ["HTML", "print", "RSS"] [params] avroversion = "++version++" copyright = "The Apache Software Foundation" +apache_foundation = "https://www.apache.org/" +apache_events_logo = "https://www.apache.org/events/current-event-234x60.png" +apache_events_url = "https://www.apache.org/events/current-event.html" privacy_policy = "http://www.apache.org/foundation/policies/privacy.html" +license = "http://www.apache.org/licenses/" # First one is picked as the Twitter card image if not set on page. # images = ["images/project-illustration.png"] @@ -195,6 +199,29 @@ no = 'Sorry to hear that. Please
-
+
{{ with $links }} {{ with index . "user"}} {{ template "footer-links-block" . }} {{ end }} {{ end }}
-
+
{{ with $links }} {{ with index . "developer"}} {{ template "footer-links-block" . }} {{ end }} {{ end }}
-
- {{ with .Site.Params.copyright }}© {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}{{ end }} +
+ {{ with .Site.Params }}© {{ now.Year}} {{ .copyright }} {{ T "footer_all_rights_reserved" }}{{ end }} {{ if not .Site.Params.ui.footer_about_disable }} {{ with .Site.GetPage "about" }}

{{ .Title }}

{{ end }} {{ end }}

Apache Avro, Avro™, Apache®, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation.

+
+ {{ with .Site.Params }}{{ end }} +
diff --git a/doc/layouts/partials/navbar-asf-links.html b/doc/layouts/partials/navbar-asf-links.html new file mode 100644 index 00000000000..54e3b8dcf08 --- /dev/null +++ b/doc/layouts/partials/navbar-asf-links.html @@ -0,0 +1,29 @@ + + + + diff --git a/doc/layouts/partials/navbar.html b/doc/layouts/partials/navbar.html index fc7fb4f63d9..98c7bf94f8f 100644 --- a/doc/layouts/partials/navbar.html +++ b/doc/layouts/partials/navbar.html @@ -27,6 +27,7 @@ */}} {{ .Site.Title }} +