From ab8b798547e82ca79882ba28b1920077c803425f Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Fri, 5 Apr 2019 18:24:32 +0100 Subject: pysite -> pydis_site --- pydis_site/templates/base.html | 22 +++++++++++++++++++ pydis_site/templates/home/index.html | 42 ++++++++++++++++++++++++++++++++++++ pydis_site/templates/navbar.html | 16 ++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 pydis_site/templates/base.html create mode 100644 pydis_site/templates/home/index.html create mode 100644 pydis_site/templates/navbar.html (limited to 'pydis_site/templates') diff --git a/pydis_site/templates/base.html b/pydis_site/templates/base.html new file mode 100644 index 00000000..1dcdfdc4 --- /dev/null +++ b/pydis_site/templates/base.html @@ -0,0 +1,22 @@ +{# Base template, with a few basic style definitions. #} +{% load django_simple_bulma %} +{% load static %} + + + + + + Python Discord | {% block page_title %}Website{% endblock %} + + + {% bulma %} + {% font_awesome %} + {% block head %}{% endblock %} + + + {% block body %} + {% endblock %} + + + + diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html new file mode 100644 index 00000000..cc99763b --- /dev/null +++ b/pydis_site/templates/home/index.html @@ -0,0 +1,42 @@ +{% extends 'navbar.html' %} +{% load static %} + +{% block page_title %}Home{% endblock %} +{% block head %} + {{ block.super }} + +{% endblock %} +{% block body %} + {{ block.super }} +
+

Python Discord

+

+ The official Discord server of + r/Python +

+ +

+ We're a large, friendly community focused around the Python programming language, open to those + who wish to learn the language or improve their skills, as well as those looking to help others. +

+ +

+ We organise regular community events and have a dedicated staff of talented Python + developers available to assist around the clock. Whether you're looking to learn the + language or working on a complex project, we've got someone who can help you if you get stuck. +

+ + + +

+ ------------------------------------------------------------------------------------------------------------           O          ------------------------------------------------------------------------------------------------------------- +

+ +

+ Please note: this site is under construction. What you see now may be vastly different + from the final project state. Feel free to chat to us on Discord if you're curious! +

+
+{% endblock %} + + diff --git a/pydis_site/templates/navbar.html b/pydis_site/templates/navbar.html new file mode 100644 index 00000000..0efa51c2 --- /dev/null +++ b/pydis_site/templates/navbar.html @@ -0,0 +1,16 @@ +{% extends 'base.html' %} +{% load static %} + +{% block head %} + +{% endblock %} +{% block body %} + + {{ block.super }} +{% endblock %} + + -- cgit v1.2.3