From 6ede600cefd9ff249e0a087a96b8e0fde50a5657 Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Thu, 11 Apr 2019 23:51:02 +0200 Subject: New landing page. Not quite done yet. This probably should've been more than one commit. --- pydis_site/templates/base/base.html | 1 + pydis_site/templates/base/footer.html | 2 +- pydis_site/templates/base/navbar.html | 110 ++++++++++++++++++++-------------- 3 files changed, 67 insertions(+), 46 deletions(-) (limited to 'pydis_site/templates/base') diff --git a/pydis_site/templates/base/base.html b/pydis_site/templates/base/base.html index 5b124ded..fecf60cc 100644 --- a/pydis_site/templates/base/base.html +++ b/pydis_site/templates/base/base.html @@ -21,6 +21,7 @@ crossorigin="anonymous" > + {% block head %}{% endblock %} diff --git a/pydis_site/templates/base/footer.html b/pydis_site/templates/base/footer.html index ff868160..90f06f3c 100644 --- a/pydis_site/templates/base/footer.html +++ b/pydis_site/templates/base/footer.html @@ -1,7 +1,7 @@ diff --git a/pydis_site/templates/base/navbar.html b/pydis_site/templates/base/navbar.html index 73e3917a..f9f576df 100644 --- a/pydis_site/templates/base/navbar.html +++ b/pydis_site/templates/base/navbar.html @@ -1,60 +1,80 @@ {% load extra_filters %} {% load static %} -{% comment %} -This template is responsible for rendering the main navigation on each page that uses it. -It requires two arguments to be set in the include: +