diff options
| author | 2022-12-09 22:27:08 -0800 | |
|---|---|---|
| committer | 2022-12-09 22:27:08 -0800 | |
| commit | aeeec9d11307b75ed117dabf7c04698bd9186d77 (patch) | |
| tree | a23267fa619b5f98187ec5e027d3701c6e34f231 /pydis_site/templates/content/base.html | |
| parent | Appeased the requests from reviews. (diff) | |
| parent | Merge pull request #811 from python-discord/dependabot/pip/flake8-bugbear-22.... (diff) | |
Merge branch 'main' into 695-setting-different-statuses-on-your-bot
Diffstat (limited to 'pydis_site/templates/content/base.html')
| -rw-r--r-- | pydis_site/templates/content/base.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pydis_site/templates/content/base.html b/pydis_site/templates/content/base.html index 4a19a275..2fd721a3 100644 --- a/pydis_site/templates/content/base.html +++ b/pydis_site/templates/content/base.html @@ -8,6 +8,10 @@ <meta property="og:description" content="{{ page_description }}" /> <link rel="stylesheet" href="{% static "css/content/page.css" %}"> <link rel="stylesheet" href="{% static "css/collapsibles.css" %}"> + <link rel="stylesheet" + href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.1/styles/atom-one-dark.min.css"> + <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.1/highlight.min.js"></script> + <script>hljs.highlightAll();</script> <script src="{% static "js/collapsibles.js" %}"></script> {% endblock %} @@ -35,7 +39,7 @@ <section class="section"> <div class="container"> <div class="content"> - <h1 class="title">{{ page_title }}</h1> + <h1 class="title">{% block title_element %}{{ page_title }}{% endblock %}</h1> {% block page_content %}{% endblock %} </div> </div> |