diff options
| author | 2018-05-22 20:16:12 +0100 | |
|---|---|---|
| committer | 2018-05-22 20:16:12 +0100 | |
| commit | 96878097c00db06e61662fa1d34310ea552f15f1 (patch) | |
| tree | c132bd5c67e508781b6162d0160b305edb4c0bfd /templates/main/navigation.html | |
| parent | Added our new partner - Functional Programming - to the partners page! (diff) | |
| parent | Revision of the rules, and a channels page (diff) | |
Merge branch 'master' of https://github.com/discord-python/site
Merge master
Diffstat (limited to 'templates/main/navigation.html')
| -rw-r--r-- | templates/main/navigation.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/main/navigation.html b/templates/main/navigation.html index ea5bac3e..f1db2a90 100644 --- a/templates/main/navigation.html +++ b/templates/main/navigation.html @@ -93,12 +93,18 @@ <li><a href="{{ url_for('main.info.resources') }}">Resources</a></li> {% endif %} - {% if current_page.startswith("main.about") %} + {% if current_page.startswith("main.about.") %} <li class="uk-nav-header uk-active"><a href="{{ url_for('main.about.index') }}">About</a></li> {% else %} <li class="uk-nav-header"><a href="{{ url_for('main.about.index') }}">About</a></li> {% endif %} + {% if current_page == "main.about.channels" %} + <li class="uk-active"><a href="{{ url_for('main.about.channels') }}">Channels</a></li> + {% else %} + <li><a href="{{ url_for('main.about.channels') }}">Channels</a></li> + {% endif %} + {% if current_page == "main.about.partners" %} <li class="uk-active"><a href="{{ url_for('main.about.partners') }}">Partners</a></li> {% else %} |