async _out => {
async function breadcrumbs_str(pathname) {
assert(pathname.slice(0, 1) === '/')
-
+
// find names of path components
console.log('pathname', pathname)
let components = ['Home']
components.push(menu.entries[menu.index[dir]].name)
}
- return components.join(' > ')
+ return components.join(' > ')
}
await breadcrumbs(env, _out)
'Query: '
strong {`${query}`}
}
-
+
if (search.results.length) {
p {`Showing results ${first + 1}–${first + search.results.length} of ${search.total_results}`}