From 135320b65808d45a4b3e18f515167b141901b543 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Wed, 21 Dec 2022 15:18:22 -0500 Subject: [PATCH] Add config file link to demo page --- packages/demo/index.js | 8 ++++++++ packages/demo/package.json | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 packages/demo/package.json diff --git a/packages/demo/index.js b/packages/demo/index.js index da46aba3..27269e4d 100644 --- a/packages/demo/index.js +++ b/packages/demo/index.js @@ -110,6 +110,14 @@ CMS.registerAdditionalLink({ icon: 'page', }, }); +CMS.registerAdditionalLink({ + id: 'config', + title: 'Demo config.yml', + data: 'https://github.com/StaticJsCMS/static-cms/blob/main/packages/demo/config.yml', + options: { + icon: 'page', + }, +}); CMS.registerAdditionalLink({ id: 'custom-page', title: 'Custom Page', diff --git a/packages/demo/package.json b/packages/demo/package.json new file mode 100644 index 00000000..a62a3eb5 --- /dev/null +++ b/packages/demo/package.json @@ -0,0 +1,5 @@ +{ + "name": "@staticcms/demo", + "version": "1.0.0", + "private": true +}