function item (current, name, path, label) {
var cls = ''
if (current == name)
cls = 'class="current"'
return `
`
}
module.exports.sections = (c) => `
${item(c, 'docs', '/docs/basics/install-the-database.html', 'Docs')}
${item(c, 'apis', '/apis/scuttlebot/ssb.html', 'APIs')}
${item(c, 'apps', '/apps/index.html', 'Apps')}
${item(c, 'more', '/more/protocols/secure-scuttlebutt.html', 'More')}
`
module.exports.docs = (c) => `
${item(c, 'docs-basics', '/docs/basics/install-the-database.html', 'Basics')}
${item(c, 'docs-social', '/docs/social/update-your-profile.html', 'Social')}
${item(c, 'docs-advanced', '/docs/advanced/links.html', 'Advanced')}
${item(c, 'docs-message-types', '/docs/message-types/post.html', 'Message Types')}
${item(c, 'docs-config', '/docs/config/configure-scuttlebot.html', 'Config')}
`
module.exports.apis = (c) => `
${item(c, 'apis-scuttlebot', '/apis/scuttlebot/ssb.html', 'Scuttlebot')}
${item(c, 'apis-modules', '/apis/modules/ssb-client.html', 'Modules')}
${item(c, 'apis-pull-stream', '/apis/pull-stream/pull-stream.html', 'Pull Stream')}
${item(c, 'apis-community', '/apis/community/ssbify.html', 'Community')}
`
module.exports.more = (c) => `
${item(c, 'more-protocols', '/more/protocols/secure-scuttlebutt.html', 'Protocols')}
${item(c, 'more-articles', '/more/articles/design-challenge-avoid-centralization-and-singletons.html', 'Articles')}
`