summaryrefslogtreecommitdiffstats
path: root/lib/page
diff options
context:
space:
mode:
Diffstat (limited to 'lib/page')
-rw-r--r--lib/page/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/page/index.js b/lib/page/index.js
index 11cbb57..57b048d 100644
--- a/lib/page/index.js
+++ b/lib/page/index.js
@@ -122,6 +122,7 @@ Page.prototype.getContext = function() {
next: next? next.getContext() : null,
previous: prev? prev.getContext() : null,
level: article? article.level : null,
+ depth: article? article.depth : 0,
content: this.content,
dir: dir
}