aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/events/_base.html
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-05-16 18:42:50 +0100
committerGravatar GitHub <[email protected]>2021-05-16 18:42:50 +0100
commit8c7c3b137fb6c60818d29ac3d14ebb397357ee0e (patch)
treefec5581d5e27fc860db6424f7c1d6a3a71565693 /pydis_site/templates/events/_base.html
parentResolve conflicts (diff)
parentMerge pull request #501 from python-discord/update/sir-lancebot-env-vars (diff)
Merge branch 'main' into fix_327
Diffstat (limited to 'pydis_site/templates/events/_base.html')
-rw-r--r--pydis_site/templates/events/_base.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/pydis_site/templates/events/_base.html b/pydis_site/templates/events/_base.html
new file mode 100644
index 00000000..ff78d944
--- /dev/null
+++ b/pydis_site/templates/events/_base.html
@@ -0,0 +1,33 @@
+{% extends "base/base.html" %}
+{% load static %}
+
+{% block head %}
+ <link rel="stylesheet" href="{% static "css/events/base.css" %}">
+ <link rel="stylesheet"
+ href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/styles/atom-one-dark.min.css">
+ <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/highlight.min.js"></script>
+ <script>hljs.initHighlightingOnLoad();</script>
+{% endblock %}
+
+{% block content %}
+ {% include "base/navbar.html" %}
+
+ <section class="breadcrumb-section section">
+ <div class="container">
+ <nav class="breadcrumb is-pulled-left" aria-label="breadcrumbs">
+ <ul>
+ {% block breadcrumb %}{% endblock %}
+ </ul>
+ </nav>
+ </div>
+ </section>
+
+ <section class="section">
+ <div class="container">
+ <div class="content">
+ <h1>{% block title %}{% endblock %}</h1>
+ <div>{% block event_base_content %}{% endblock %}</div>
+ </div>
+ </div>
+ </section>
+{% endblock %}