diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-02-03 19:38:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 19:38:24 +0100 |
commit | 8fe56e0b34eac47b92be6cc99ca95c67eaf0affc (patch) | |
tree | bd3061fa31cbbc9207cbaa5c02f23dec150aa906 /test | |
parent | eca7ecabd386edc0e138d6d7a1de2881dacffa41 (diff) | |
download | kronika-8fe56e0b34eac47b92be6cc99ca95c67eaf0affc.tar.gz kronika-8fe56e0b34eac47b92be6cc99ca95c67eaf0affc.zip |
Netlify cms (#7)
* Add netlify CMS * Add netlify.toml * Add example media library * Add Netlify Identity * Fix post path * Add content * Add body * Fix date format * Add site url * Add image * Disable editorial workflow * Add date path * Add file extension * Use the latest release * Fix slug * Filename on preview path * Remove filenames
Diffstat (limited to 'test')
-rw-r--r-- | test/build.js | 2 | ||||
-rw-r--r-- | test/package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/build.js b/test/build.js index c5b6e8c..036fc69 100644 --- a/test/build.js +++ b/test/build.js @@ -2,4 +2,4 @@ import Kronikarz from 'kronikarz'; const k = new Kronikarz('../wpisy'); -k.generateApi('../api'); +k.generateApi('../static'); diff --git a/test/package.json b/test/package.json index 74665d2..c98d7e9 100644 --- a/test/package.json +++ b/test/package.json @@ -8,7 +8,7 @@ "kronikarz": "^2.0.0" }, "scripts": { - "build": "mkdir -p ../api/api && touch ../api/api/posts.json && node -r esm build.js && cp _headers ../api", + "build": "mkdir -p ../static/api && touch ../static/api/posts.json && node -r esm build.js && cp _headers ../static", "test": "./validator.sh" }, "keywords": [], |