diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-17 21:08:25 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-17 21:08:25 +0200 |
commit | edb6cb5adc69c8f2131b7b309d91a53e21af2486 (patch) | |
tree | 0387b78df50fbb69ef0b597d2dcdfc4913c337a5 /api/index.js | |
parent | e81210cefcc34cd68f1a49c0f8146e08ffd01c24 (diff) | |
download | puszcza-edb6cb5adc69c8f2131b7b309d91a53e21af2486.tar.gz puszcza-edb6cb5adc69c8f2131b7b309d91a53e21af2486.zip |
Revert "Revert "Add kronikarz""
This reverts commit 4fe5fef70b111ab0e10d91ee7060302a52ca3b76.
Diffstat (limited to 'api/index.js')
-rw-r--r-- | api/index.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/api/index.js b/api/index.js new file mode 100644 index 0000000..5658365 --- /dev/null +++ b/api/index.js @@ -0,0 +1,7 @@ +import Kronikarz from 'kronikarz' + +const POSTS_PATH = './content/wpisy' + +const k = new Kronikarz(POSTS_PATH) + +export default k |