diff options
author | Maximilian Hils <git@maximilianhils.com> | 2018-03-20 23:41:24 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2018-03-21 00:42:37 +0100 |
commit | 4eb6954c7d7b5327c59dfbd86cebfc3ea10c1033 (patch) | |
tree | e13bdbcac73d6cab53a9c48b0e26ee3dc1e0fcf4 /docs/src/layouts/_default | |
parent | 97484879390e283b186562d69236f975c2353b45 (diff) | |
download | mitmproxy-4eb6954c7d7b5327c59dfbd86cebfc3ea10c1033.tar.gz mitmproxy-4eb6954c7d7b5327c59dfbd86cebfc3ea10c1033.tar.bz2 mitmproxy-4eb6954c7d7b5327c59dfbd86cebfc3ea10c1033.zip |
various docs improvements
- add clickable anchors for headers
- add "outdated" warning for archived docs
- add "edit on github" button
- beautify template
Diffstat (limited to 'docs/src/layouts/_default')
-rw-r--r-- | docs/src/layouts/_default/single.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/src/layouts/_default/single.html b/docs/src/layouts/_default/single.html index 4a8baf53..801b6341 100644 --- a/docs/src/layouts/_default/single.html +++ b/docs/src/layouts/_default/single.html @@ -1,10 +1,12 @@ -{{ partial "header.html" . }} -<div class="columns"> - <div class="column is-one-quarter sidebody"> - {{ partial "sidebar.html" . }} +{{ partial "header" . }} +<div class="columns container is-marginless"> + <div id="sidebar" class="column is-one-quarter"> + {{ partial "sidebar" . }} </div> - <div class="column content mainbody"> - {{.Content}} + <div id="main" class="column content"> + {{ partial "outdated" . }} + {{ partial "edit-on-github" . }} + {{ partial "add-anchors" .Content}} </div> </div> {{ partial "footer.html" . }} |