diff options
author | 2019-04-10 14:44:46 +0100 | |
---|---|---|
committer | 2019-04-10 14:44:46 +0100 | |
commit | e85d32920b64ce92ec2fe02d955157285b3504ee (patch) | |
tree | 607d8d345005aa2e4d13f9a3a54877b06a32b9fd /pydis_site/templates/home/index.html | |
parent | Navbar: No need for example content (diff) |
Single base template, no content in it
Diffstat (limited to 'pydis_site/templates/home/index.html')
-rw-r--r-- | pydis_site/templates/home/index.html | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html index c69f7bcd..61b4b03e 100644 --- a/pydis_site/templates/home/index.html +++ b/pydis_site/templates/home/index.html @@ -1,4 +1,4 @@ -{% extends 'base/base-hero.html' %} +{% extends 'base/base.html' %} {% load static %} {% block title %}Home{% endblock %} @@ -6,17 +6,22 @@ <link rel="stylesheet" href="{% static "css/home/index.css" %}"> {% endblock %} -{% block hero-body %} - <div class="container is-flex"> - <img class="hero-image is-centered" src="{% static "images/logo_site_banner.svg" %}" alt="Python Discord logo" /> - </div> - <div class="container has-text-centered"> - <h1 class="title is-4"> - The hottest Python community on the web - </h1> - </div> -{% endblock %} {% block content %} + <section class="hero is-primary"> + <div class="hero-body"> + <div class="container is-flex"> + <img class="hero-image is-centered" src="{% static "images/logo_site_banner.svg" %}" alt="Python Discord logo" /> + </div> + <div class="container has-text-centered"> + <h1 class="title is-4"> + The hottest Python community on the web + </h1> + </div> + </div> + <div class="hero-foot"> + {% include "base/navbar.html" with active_item=False dropdowns=True icon_weight="fas" use_logo=False %} + </div> + </section> <section class="section"> <div class="container is-spaced"> <div class="columns"> @@ -61,6 +66,8 @@ </div> </div> </section> + + {% include "base/footer.html" %} {% endblock %} <!-- vim: set ft=htmldjango: --> |