only index / route

This commit is contained in:
Danny Coates 2019-03-14 13:17:47 -07:00
parent 6a6f8b86e4
commit 3e14d3049d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
2 changed files with 6 additions and 5 deletions

View file

@ -9,10 +9,7 @@ module.exports = function(state, body = '') {
<head>
<title>${state.title}</title>
<base href="/" />
<meta
name="robots"
content="${state.route === 'download/:id' ? 'none' : 'all'},noarchive"
/>
<meta name="robots" content="${state.robots},noarchive" />
<meta name="google" content="nositelinkssearchbox" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8" />