chore: use cms w/ open authoring for site edits (#3287)

This commit is contained in:
Shawn Erquhart
2020-02-19 16:55:10 -05:00
committed by GitHub
parent bcdd68045d
commit 783440e370
13 changed files with 411 additions and 305 deletions

View File

@ -1,42 +1,15 @@
const pkg = require('./package.json');
const fs = require('fs');
const yaml = require('js-yaml');
const staticConfig = yaml.safeLoad(fs.readFileSync('./site.yml', 'utf8'));
module.exports = {
siteMetadata: {
title: 'Netlify CMS | Open-Source Content Management System',
description: 'Open source content management for your Git workflow',
siteUrl: pkg.homepage,
menu: {
docs: [
{
name: 'start',
title: 'Quick Start',
},
{
name: 'features',
title: 'Features',
},
{
name: 'reference',
title: 'Reference',
},
{
name: 'media',
title: 'Media',
},
{
name: 'guides',
title: 'Guides',
},
{
name: 'customization',
title: 'Customization',
},
{
name: 'contributing',
title: 'Contributing',
},
],
},
menu: staticConfig.menu,
},
plugins: [
{