diff options
Diffstat (limited to 'doc-src/index.py')
-rw-r--r-- | doc-src/index.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc-src/index.py b/doc-src/index.py index 7b65adb9..7b84f982 100644 --- a/doc-src/index.py +++ b/doc-src/index.py @@ -8,10 +8,13 @@ from libmproxy import filt MITMPROXY_SRC = "~/git/public/mitmproxy" if ns.options.website: + ns.idxpath = "doc/index.html" this.layout = countershape.Layout("_websitelayout.html") else: + ns.idxpath = "index.html" this.layout = countershape.Layout("_layout.html") + ns.title = countershape.template.Template(None, "<h1>@!this.title!@</h1>") this.titlePrefix = "mitmproxy 0.9 - " this.markup = markup.Markdown(extras=["footnotes"]) |