git ssb

2+

cel / scuttlebot.io



Tree: 2a1adb5f93a56a829588f47c4f36cba1a964d590

Files: 2a1adb5f93a56a829588f47c4f36cba1a964d590 / tmpl / head.part.js

595 bytesRaw
1module.exports = (opts) => {
2 opts = opts || {}
3 if (opts.title)
4 opts.title += ' - Scuttlebot'
5 else
6 opts.title = 'Scuttlebot peer-to-peer log store'
7
8 return `<head>
9 <title>${opts.title}</title>
10 ${opts.canonicalUrl ? `<link rel="canonical" href="${opts.canonicalUrl}">` : ''}
11 <link rel="icon" href="/img/icon.png">
12 <link rel="stylesheet" href="/css/index.css">
13 <link rel="stylesheet" href="/css/prism.css">
14 <script src="/js/prism.js"></script>
15 <script src="/js/code-examples.js"></script>
16 <script src="/js/table-of-contents.js"></script>
17 </head>`
18}

Built with git-ssb-web