summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/assets/website/app.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/theme/assets/website/app.js b/theme/assets/website/app.js
index 82bc568..4f8de39 100644
--- a/theme/assets/website/app.js
+++ b/theme/assets/website/app.js
@@ -24743,6 +24743,9 @@ state.update = function(dom) {
// Original path of the file
state.filepath = $book.data('filepath');
+ // Title of the chapter
+ state.chapterTitle = $book.data('chapter-title');
+
// Absolute url to the root of the book
state.root = url.resolve(
location.protocol+'//'+location.host,