Changeset - 37d67fb1da4a
[Not reviewed]
0 2 4
Ben Sturmfels (bsturmfels) - 9 months ago 2021-10-19 13:47:58
ben@sturm.com.au
Break submenus out into separately included files for reuse in sidebars.
6 files changed with 35 insertions and 39 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/base_about.html
Show inline comments
...
 
@@ -5,12 +5,3 @@
 
            <h2>{% block category %}About{% endblock %}</h2>
 
            <ul>
 
            <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 &amp; Sources</a></li>
 
            </ul>
 
            {% include 'submenus/who_we_are_partial.html' %}
 
         </div>
...
 
@@ -20 +11,2 @@
 
{% endblock %}
 
g
www/conservancy/templates/base_conservancy.html
Show inline comments
...
 
@@ -73,37 +73,12 @@
 
          <li class="what"><a href="#fixme">What we do</a>
 
            <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>
 
            {% include 'submenus/what_we_do_partial.html' %}
 
          </li>
 
          <li class="who"><a href="/about/">Who we are</a>
 
            <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>
 
            {% include 'submenus/who_we_are_partial.html' %}
 
          </li>
 
          <li class="learn"><a href="#fixme">Learn</a>
 
            <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>
 
            {% include 'submenus/learn_partial.html' %}
 
          </li>
 
          <li class="news"><a href="/news/">News</a>
 
            <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>
 
            {% include 'submenus/news_partial.html' %}
 
          </li>
www/conservancy/templates/submenus/learn_partial.html
Show inline comments
 
new file 100644
 
<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>
www/conservancy/templates/submenus/news_partial.html
Show inline comments
 
new file 100644
 
<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>
www/conservancy/templates/submenus/what_we_do_partial.html
Show inline comments
 
new file 100644
 
<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>
www/conservancy/templates/submenus/who_we_are_partial.html
Show inline comments
 
new file 100644
 
<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>
0 comments (0 inline, 0 general)