webapps.help: Load the navbar from a Factor word instead of hardcoding it into the template so that the glossary link works.

db4
Doug Coleman 2011-11-06 12:16:46 -08:00
parent bc7162743c
commit cb84fefc37
2 changed files with 2 additions and 10 deletions

View File

@ -25,6 +25,7 @@ M: result link-href href>> ;
[ vocab-apropos "vocabs" set-value ] tri
] with-directory
] unless-empty
help-navbar "navbar" set-value
{ help-webapp "search" } <chloe-content>
] >>display ;

View File

@ -34,16 +34,7 @@
</head>
<body>
<div class="navbar">
<b> Factor Documentation </b> |
<a href="/">Home</a> |
<a href="article-conventions.html">Glossary</a> |
<t:form t:action="$help-webapp/search" style="display:inline;">
<t:field t:name="search" />
<button type="submit">Search</button>
</t:form>
<a href="http://factorcode.org" style="float:right; padding: 4px;" >factorcode.org</a>
</div>
<t:html t:name="navbar"/>
<t:if t:value="articles">
<h2>Articles</h2>