Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hadisinaee/avicenna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/table_of_contents.html')
-rw-r--r--layouts/shortcodes/table_of_contents.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/shortcodes/table_of_contents.html b/layouts/shortcodes/table_of_contents.html
new file mode 100644
index 0000000..f31d122
--- /dev/null
+++ b/layouts/shortcodes/table_of_contents.html
@@ -0,0 +1,9 @@
+<div class="toc ">
+ <div>
+ <strong>Table of Contents</strong>
+ </div>
+ <div>
+ <!-- {{ .Page.TableOfContents | replaceRE "<ul>[[:space:]]*<li>[[:space:]]*<ul>" "<ul>" | replaceRE "</ul>[[:space:]]*</li>[[:space:]]*</ul>" "</ul>" | safeHTML }} -->
+ {{ .Page.TableOfContents }}
+ </div>
+</div> \ No newline at end of file