Skip to content

Commit

Permalink
Update dependency: web/k-web-theme (#297)
Browse files Browse the repository at this point in the history
* web/k-web-theme: c5eedac - Support page ToC (#12)

* doc: Added page ToC

Co-authored-by: Yiyi Wang <[email protected]>
  • Loading branch information
rv-jenkins and shd101wyy authored Jul 15, 2021
1 parent 6d8ea24 commit 30729ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion web/static_content/html/page_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,18 @@
<div class="row flex-xl-nowrap">
{{include/sidebar.html}}
<main
class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content"
class="col-12 col-md-6 col-xl-8 py-md-3 pl-md-5 bd-content"
role="main"
>
<div class="markdown-preview">{{$MARKDOWN_HTML}}</div>
</main>

<!-- Page ToC -->
<div class="col-12 col-md-3 col-xl-2 py-md-3 bd-sidebar page-toc mb-3">
{{$PAGE_TOC_HTML}}
</div>
<div class="btn btn-rv-blue page-toc-toggle-btn"></div>
<!-- End Page ToC -->
</div>
</div>
{{include/footer.html}}
Expand Down

0 comments on commit 30729ca

Please sign in to comment.