mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
move site config to own file
This commit is contained in:
parent
4b1ad4d95e
commit
68881c9c43
7
config.js
Normal file
7
config.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
siteTitle: 'Ocean Protocol Documentation',
|
||||||
|
siteDescription:
|
||||||
|
'Learn everything you need to know to develop with Ocean Protocol. This should be a bit longer cause it is also the meta description so why not write some more.',
|
||||||
|
siteUrl: process.env.SITE_URL || 'https://docs.oceanprotocol.com',
|
||||||
|
analyticsId: 'UA-60614729-11'
|
||||||
|
}
|
@ -1,15 +1,9 @@
|
|||||||
const config = {
|
const config = require('./config.js')
|
||||||
title: 'Ocean Protocol Documentation',
|
|
||||||
description:
|
|
||||||
'Learn everything you need to know to develop with Ocean Protocol. This should be a bit longer cause it is also the meta description so why not write some more.',
|
|
||||||
siteUrl: process.env.SITE_URL || 'https://docs.oceanprotocol.com',
|
|
||||||
analyticsId: 'UA-60614729-11'
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
siteMetadata: {
|
siteMetadata: {
|
||||||
siteTitle: config.title,
|
siteTitle: config.siteTitle,
|
||||||
siteDescription: config.description,
|
siteDescription: config.siteDescription,
|
||||||
siteUrl: config.siteUrl
|
siteUrl: config.siteUrl
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
Loading…
Reference in New Issue
Block a user