During the recent improvements made on the website, the menus and submenu highlighting for selected menus fell into disarray. Correction requires changes to the CSS and templates both, because Django doesn't really have a convenient way to set variables in templates to use to solve this. There are still a few submenu items highlighting not working even after this commit. More work needs to be done.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			723 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			723 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends "base_conservancy.html" %}
 | |
| {% block category %}Learn{% endblock %}
 | |
| {% block outercontent %}
 | |
|     <div id="container">
 | |
|          <div id="sidebar" class="{% block submenuselection %}{% endblock %}">
 | |
|             <h2>Learn</h2>
 | |
|             {% include 'submenus/learn_partial.html' %}
 | |
|             <h2>Resources for Journalists</h2>
 | |
|             <ul>
 | |
|             <li class="News"><a href="/news/">News</a></li>
 | |
|             <li class="PressKit"><a href="/press/">Press Kit</a></li>
 | |
|             <li class="Glossary"><a href="/copyleft-compliance/glossary.html">Glossary</a></li>
 | |
|             </ul>
 | |
|    </div>
 | |
|                <div id="mainContent">{% block content %}{% endblock %}
 | |
|                </div>
 | |
| </div>
 | |
| {% endblock %}
 |