about summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-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