CVSROOT: /web/www Module name: www Changes by: James Turner <jturner> 11/10/16 16:03:09
Modified files: philosophy : philosophy-menu.html Log message: Use SSI conditionals to determine the active philosophy page CVSWeb URLs: http://web.cvs.savannah.gnu.org/viewcvs/www/philosophy/philosophy-menu.html?cvsroot=www&r1=1.7&r2=1.8 Patches: Index: philosophy-menu.html =================================================================== RCS file: /web/www/www/philosophy/philosophy-menu.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -b -r1.7 -r1.8 --- philosophy-menu.html 16 Oct 2011 15:59:11 -0000 1.7 +++ philosophy-menu.html 16 Oct 2011 16:03:01 -0000 1.8 @@ -2,15 +2,27 @@ <!-- begin edu navigation bar --> <ul id="edu-navigation"> - <li><a href="/philosophy/philosophy.html">Introduction</a></li> + <li + <!--#if expr='"$DOCUMENT_URI" = "/philosophy/philosophy.html"' --> + class="active" + <!--#endif --> + ><a href="/philosophy/philosophy.html">Introduction</a></li> <li><a href="http://audio-video.gnu.org/">Audio and video</a></li> <li <!--#if expr='"$DOCUMENT_URI" = "/philosophy/essays-and-articles.html"' --> class="active" <!--#endif --> ><a href="/philosophy/essays-and-articles.html">Essays and articles</a></li> - <li><a href="/philosophy/speeches-and-interview.html">Speeches and interviews</a></li> - <li><a href="/philosophy/third-party-ideas.html">Third party ideas</a></li> + <li + <!--#if expr='"$DOCUMENT_URI" = "/philosophy/speeches-and-interview.html"' --> + class="active" + <!--#endif --> + ><a href="/philosophy/speeches-and-interview.html">Speeches and interviews</a></li> + <li + <!--#if expr='"$DOCUMENT_URI" = "/philosophy/third-party-ideas.html"' --> + class="active" + <!--#endif --> + ><a href="/philosophy/third-party-ideas.html">Third party ideas</a></li> <li><a href="/server/sitemap.html#directory-philosophy">All philosophy articles</a></li> </ul> <!-- end edu navigation bar -->