diff options
| author | 2018-05-22 12:18:27 +0100 | |
|---|---|---|
| committer | 2018-05-22 12:18:27 +0100 | |
| commit | 08d9231ab4b4feab2c29ebdec71dcb71e3edced6 (patch) | |
| tree | 932bf4e1d31b3e1262df65cd905731e2d915b337 /templates/main/navigation.html | |
| parent | UIKit is pushy. (diff) | |
Revision of the rules, and a channels page
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 %} |