diff options
author | 2022-05-30 19:10:35 +0100 | |
---|---|---|
committer | 2022-05-30 19:10:35 +0100 | |
commit | 6659680429eec1dd0d45a6332a329a8b5e5a0d0b (patch) | |
tree | b5b1c6133f8f56e4788d119c3c9378c670137054 /docs/_templates/base.html | |
parent | Merge pull request #78 from python-discord/bump-d.py (diff) | |
parent | Fix Bullet Points In Changelog (diff) |
Merge pull request #79 from python-discord/upgrade-docsv7.1.1
Diffstat (limited to 'docs/_templates/base.html')
-rw-r--r-- | docs/_templates/base.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/_templates/base.html b/docs/_templates/base.html new file mode 100644 index 00000000..541dbd0b --- /dev/null +++ b/docs/_templates/base.html @@ -0,0 +1,12 @@ +{% extends "furo/base.html" %} + +{# Make sure the project name uses the correct version #} +{% if versions %} + {% if current_version == latest_version %} + {% set docstitle = "Latest (" + current_version.version + ")" %} + {% else %} + {% set docstitle = current_version.name %} + {% endif %} + + {% set docstitle = project + " " + docstitle %} +{% endif %} |