Browse Source

remove unneeded console log

patch-criadoperez4
Jonathon Hammond 3 years ago
committed by Alejandro Criado-Pérez
parent
commit
1a1c4c4834
  1. 1
      src/common/routes/get-routes.js

1
src/common/routes/get-routes.js

@ -68,7 +68,6 @@ const routes = allRoutes.map(route => {
// detect the locale // detect the locale
// index.${locale}.md // index.${locale}.md
try { try {
console.log('JONATHON', route);
const fileContent = fs.readFileSync( const fileContent = fs.readFileSync(
path.join('./src/pages/en', `${route === '/' ? 'index' : route}.md`), path.join('./src/pages/en', `${route === '/' ? 'index' : route}.md`),
'utf8' 'utf8'

Loading…
Cancel
Save