Add Lotusdocs theme
This commit is contained in:
2
themes/lotusdocs/layouts/partials/docs/toc-mobile.html
Normal file
2
themes/lotusdocs/layouts/partials/docs/toc-mobile.html
Normal file
@@ -0,0 +1,2 @@
|
||||
{{ $toc := .TableOfContents }}
|
||||
{{ replaceRE "<ul>" "<ul class=\"dropdown-menu\">" (replaceRE "<nav id=\"TableOfContents\">" "<nav id=\"toc-mobile\">" $toc) 1 | safeHTML }}
|
||||
Reference in New Issue
Block a user