From 9a05b79f605bc7150a3d7e93026a816df45f9707 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Mon, 13 Aug 2018 22:46:05 +0200 Subject: Add base & navbar templates. --- pysite/templates/base.html | 19 +++++++++++++++++++ pysite/templates/navbar.html | 16 ++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 pysite/templates/base.html create mode 100644 pysite/templates/navbar.html (limited to 'pysite') diff --git a/pysite/templates/base.html b/pysite/templates/base.html new file mode 100644 index 00000000..f8a24962 --- /dev/null +++ b/pysite/templates/base.html @@ -0,0 +1,19 @@ +{# Base template, with a few basic style definitions. #} +{% load static %} + + + + + + Python Discord | {% block page_title %}Website{% endblock %} + + + {% block head %}{% endblock %} + + + {% block body %} + {% endblock %} + + + + diff --git a/pysite/templates/navbar.html b/pysite/templates/navbar.html new file mode 100644 index 00000000..0efa51c2 --- /dev/null +++ b/pysite/templates/navbar.html @@ -0,0 +1,16 @@ +{% extends 'base.html' %} +{% load static %} + +{% block head %} + +{% endblock %} +{% block body %} + + {{ block.super }} +{% endblock %} + + -- cgit v1.2.3