webapps.help: Load the navbar from a Factor word instead of hardcoding it into the template so that the glossary link works.
parent
bc7162743c
commit
cb84fefc37
|
@ -25,6 +25,7 @@ M: result link-href href>> ;
|
||||||
[ vocab-apropos "vocabs" set-value ] tri
|
[ vocab-apropos "vocabs" set-value ] tri
|
||||||
] with-directory
|
] with-directory
|
||||||
] unless-empty
|
] unless-empty
|
||||||
|
help-navbar "navbar" set-value
|
||||||
|
|
||||||
{ help-webapp "search" } <chloe-content>
|
{ help-webapp "search" } <chloe-content>
|
||||||
] >>display ;
|
] >>display ;
|
||||||
|
|
|
@ -34,16 +34,7 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="navbar">
|
<t:html t:name="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:if t:value="articles">
|
<t:if t:value="articles">
|
||||||
<h2>Articles</h2>
|
<h2>Articles</h2>
|
||||||
|
|
Loading…
Reference in New Issue