git ssb

2+

cel / scuttlebot.io



Tree: eedd3e12be4658709953cc735438aec88a79819e

Files: eedd3e12be4658709953cc735438aec88a79819e / 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