aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/home/index.html
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-10 14:44:46 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-10 14:44:46 +0100
commite85d32920b64ce92ec2fe02d955157285b3504ee (patch)
tree607d8d345005aa2e4d13f9a3a54877b06a32b9fd /pydis_site/templates/home/index.html
parentNavbar: 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.html29
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: -->