summary refs log tree commit diff stats
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index ae277d6..6622a79 100644
--- a/src/index.js
+++ b/src/index.js
@@ -17,7 +17,10 @@ const posts = Posts.getFolder(config.posts.folder)
 
 app.use(
   view(`${__dirname}/views`, {
-    extname: 'njk'
+    extname: 'njk',
+    globals: {
+      site: config.site
+    }
   })
 )