diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-14 10:03:47 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-14 10:03:47 +0200 |
commit | d400b53bee9ba563810171c217710d4176b7c367 (patch) | |
tree | 49f339a0c05a51fedcf4d741d9828f63ab0046d3 /api/index.js | |
parent | 5cfbd5b71d149419b0b80056e652ca94d26f1a95 (diff) | |
download | puszcza-d400b53bee9ba563810171c217710d4176b7c367.tar.gz puszcza-d400b53bee9ba563810171c217710d4176b7c367.zip |
Add kronikarz
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 |