From 24a6003a5c9903dcf5a551885c6005e023aad216 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 18 Apr 2021 20:34:29 +0200 Subject: [PATCH 1/3] Add footer with link to the Policy page and to the Rust Foundation --- templates/base.html | 1 + templates/footer.html | 5 +++++ templates/header/topbar_begin.html | 14 ------------ templates/rustdoc/body.html | 1 + templates/style/_vars.scss | 1 + templates/style/base.scss | 14 +++++++++--- templates/style/footer.scss | 30 +++++++++++++++++++++++++ templates/style/rustdoc.scss | 35 +++++++++++++++++++++++++++++- 8 files changed, 83 insertions(+), 18 deletions(-) create mode 100644 templates/footer.html create mode 100644 templates/style/footer.scss diff --git a/templates/base.html b/templates/base.html index 1470d0b3b..1f4a043f1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -29,6 +29,7 @@ {%- block header %}{% endblock header -%} {%- block body -%}{%- endblock body -%} + {%- include "footer.html" -%} diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 000000000..c92b076e4 --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,5 @@ + diff --git a/templates/header/topbar_begin.html b/templates/header/topbar_begin.html index 6f0c2f3e0..edc4ea5c6 100644 --- a/templates/header/topbar_begin.html +++ b/templates/header/topbar_begin.html @@ -34,20 +34,6 @@ #}