Break submenus out into separately included files for reuse in sidebars.
This commit is contained in:
parent
8270a221b9
commit
37d67fb1da
6 changed files with 35 additions and 39 deletions
|
@ -3,18 +3,10 @@
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<div id="sidebar" class="{% block submenuselection %}other{% endblock %}">
|
<div id="sidebar" class="{% block submenuselection %}other{% endblock %}">
|
||||||
<h2>{% block category %}About{% endblock %}</h2>
|
<h2>{% block category %}About{% endblock %}</h2>
|
||||||
<ul>
|
{% include 'submenus/who_we_are_partial.html' %}
|
||||||
<li class="Overview"><a href="/about/index.html">Overview</a></li>
|
|
||||||
<li class="Contact"><a href="/about/contact">Contact</a></li>
|
|
||||||
<li class="Directors"><a href="/about/board/">Directors</a></li>
|
|
||||||
<li class="Staff"><a href="/about/staff/">Staff</a></li>
|
|
||||||
<li class="Eval"><a href="/about/eval-committee/">Evaluation Committee</a></li>
|
|
||||||
<li class="Outside"><a href="/about/outside/">Outside Counsel, et alia</a></li>
|
|
||||||
<li class="Filings"><a href="/about/filings/">Filings</a></li>
|
|
||||||
<li class="License"><a href="/about/license/">License & Sources</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="mainContent">{% block content %}{% endblock %}
|
<div id="mainContent">{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
g
|
||||||
|
|
|
@ -71,41 +71,16 @@
|
||||||
</li>
|
</li>
|
||||||
<li class="home dn db-ns"><a href="/">Home</a></li>
|
<li class="home dn db-ns"><a href="/">Home</a></li>
|
||||||
<li class="what"><a href="#fixme">What we do</a>
|
<li class="what"><a href="#fixme">What we do</a>
|
||||||
<ul>
|
{% include 'submenus/what_we_do_partial.html' %}
|
||||||
<li><a href="/projects/">Member Projects</a></li>
|
|
||||||
<li><a href="/copyleft-compliance/">Copyleft Compliance</a></li>
|
|
||||||
<li><a href="/vizio/">Vizio</a></li>
|
|
||||||
<li><a href="#fixme">FAQs</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="who"><a href="/about/">Who we are</a>
|
<li class="who"><a href="/about/">Who we are</a>
|
||||||
<ul>
|
{% include 'submenus/who_we_are_partial.html' %}
|
||||||
<li><a href="/sponsors/">Sponsors</a></li>
|
|
||||||
<li><a href="/sustainer/">Sustainers</a></li>
|
|
||||||
<li><a href="/about/board/">Board of Directors</a></li>
|
|
||||||
<li><a href="/about/staff/">Staff</a></li>
|
|
||||||
<li><a href="/about/eval-committee/">Evaluation Committee</a></li>
|
|
||||||
<li><a href="/about/outside/">Outside Counsel, et alia</a></li>
|
|
||||||
<li><a href="#fixme">Transparency</a></li>
|
|
||||||
<li><a href="/about/contact/">Contact</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="learn"><a href="#fixme">Learn</a>
|
<li class="learn"><a href="#fixme">Learn</a>
|
||||||
<ul>
|
{% include 'submenus/learn_partial.html' %}
|
||||||
<li><a href="/copyleft-compliance/glossary.html">Glossary of Terms</a></li>
|
|
||||||
<li><a href="/press/qanda.html">Q&A</a></li>
|
|
||||||
<li><a href="#fixme">Recommended Resources</a></li>
|
|
||||||
<li><a href="#fixme">In The News</a></li>
|
|
||||||
<li><a href="/about/filings/">Public Filings</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="news"><a href="/news/">News</a>
|
<li class="news"><a href="/news/">News</a>
|
||||||
<ul>
|
{% include 'submenus/news_partial.html' %}
|
||||||
<li><a href="/news/">News Releases</a></li>
|
|
||||||
<li><a href="/blog/">Blog</a></li>
|
|
||||||
<li><a href="#fixme">In The News</a></li>
|
|
||||||
<li><a href="/press/">Press</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
7
www/conservancy/templates/submenus/learn_partial.html
Normal file
7
www/conservancy/templates/submenus/learn_partial.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<ul>
|
||||||
|
<li><a href="/copyleft-compliance/glossary.html">Glossary of Terms</a></li>
|
||||||
|
<li><a href="/press/qanda.html">Q&A</a></li>
|
||||||
|
<li><a href="#fixme">Recommended Resources</a></li>
|
||||||
|
<li><a href="#fixme">In The News</a></li>
|
||||||
|
<li><a href="/about/filings/">Public Filings</a></li>
|
||||||
|
</ul>
|
6
www/conservancy/templates/submenus/news_partial.html
Normal file
6
www/conservancy/templates/submenus/news_partial.html
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<ul>
|
||||||
|
<li><a href="/news/">News Releases</a></li>
|
||||||
|
<li><a href="/blog/">Blog</a></li>
|
||||||
|
<li><a href="#fixme">In The News</a></li>
|
||||||
|
<li><a href="/press/">Press</a></li>
|
||||||
|
</ul>
|
|
@ -0,0 +1,6 @@
|
||||||
|
<ul>
|
||||||
|
<li><a href="/projects/">Member Projects</a></li>
|
||||||
|
<li><a href="/copyleft-compliance/">Copyleft Compliance</a></li>
|
||||||
|
<li><a href="/vizio/">Vizio</a></li>
|
||||||
|
<li><a href="#fixme">FAQs</a></li>
|
||||||
|
</ul>
|
10
www/conservancy/templates/submenus/who_we_are_partial.html
Normal file
10
www/conservancy/templates/submenus/who_we_are_partial.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<ul>
|
||||||
|
<li><a href="/sponsors/">Sponsors</a></li>
|
||||||
|
<li><a href="/sustainer/">Sustainers</a></li>
|
||||||
|
<li><a href="/about/board/">Board of Directors</a></li>
|
||||||
|
<li><a href="/about/staff/">Staff</a></li>
|
||||||
|
<li><a href="/about/eval-committee/">Evaluation Committee</a></li>
|
||||||
|
<li><a href="/about/outside/">Outside Counsel, et alia</a></li>
|
||||||
|
<li><a href="#fixme">Transparency</a></li>
|
||||||
|
<li><a href="/about/contact/">Contact</a></li>
|
||||||
|
</ul>
|
Loading…
Reference in a new issue