git ssb

2+

cel / scuttlebot.io



Tree: 0fffad2f5df3846c43ab7d0df347a3e465588fe5

Files: 0fffad2f5df3846c43ab7d0df347a3e465588fe5 / 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