diff --git a/content/en/docs/_index.md b/content/en/docs/_index.md
index 73a9b733a..8bea52f1d 100644
--- a/content/en/docs/_index.md
+++ b/content/en/docs/_index.md
@@ -1,5 +1,5 @@
---
-title: "docs"
+title: "Documentation"
css: "scss/docs.scss"
LinkTitle: "Documentation"
diff --git a/layouts/docs/single.html b/layouts/docs/single.html
index 7ab44686f..9abfeb922 100644
--- a/layouts/docs/single.html
+++ b/layouts/docs/single.html
@@ -231,9 +231,20 @@
})
}
- getFileContributors()
- bindClickMenu()
- bindClickSecondMenu()
+ var useViewer = function() {
+ var viewer = new Viewer(document.querySelector('.md-body'), {
+ url: 'src'
+ })
+ }
+
+ var __main = function() {
+ getFileContributors()
+ bindClickMenu()
+ bindClickSecondMenu()
+ useViewer()
+ }
+
+ __main()
{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/content.html b/layouts/partials/content.html
index a132a7ad3..7e3dcb3d8 100644
--- a/layouts/partials/content.html
+++ b/layouts/partials/content.html
@@ -47,6 +47,11 @@
{{ partial "footer.html" $context }}
+