about summary refs log tree commit diff
path: root/api/kronikarz.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-29 11:21:51 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-29 11:21:51 +0100
commit6f5413879fc6c4afe04cde9bb930aa9182c57974 (patch)
tree49c1b39eb62679db9617aeb6508b48d0447e3d0f /api/kronikarz.js
parente7823de0c8160b0b7c77ce24040724b82b58b6f7 (diff)
downloadpuszcza-6f5413879fc6c4afe04cde9bb930aa9182c57974.tar.gz
puszcza-6f5413879fc6c4afe04cde9bb930aa9182c57974.zip
Fix path list
Diffstat (limited to 'api/kronikarz.js')
-rw-r--r--api/kronikarz.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/api/kronikarz.js b/api/kronikarz.js
new file mode 100644
index 0000000..5658365
--- /dev/null
+++ b/api/kronikarz.js
@@ -0,0 +1,7 @@
+import Kronikarz from 'kronikarz'
+
+const POSTS_PATH = './content/wpisy'
+
+const k = new Kronikarz(POSTS_PATH)
+
+export default k