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

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsiya <parsiya@gmail.com>2021-01-10 02:54:52 +0300
committerparsiya <parsiya@gmail.com>2021-01-10 02:54:52 +0300
commitc861d4e5fc517ad09878ab169e56aefe1e04b2cf (patch)
tree27f236b17cf10f304fc3c3df6ca1c53936c7520b /layouts
parent425ed89345066986c434a65a9b097e69430cb8a2 (diff)
add the toc shortcode and revamp the readme
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/toc.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/shortcodes/toc.html b/layouts/shortcodes/toc.html
new file mode 100644
index 0000000..3a6f3ae
--- /dev/null
+++ b/layouts/shortcodes/toc.html
@@ -0,0 +1,6 @@
+
+<!-- Author: Parsia Hakimian https://github.com/parsiya/Hugo-Shortcodes -->
+
+<!-- Creates a table of content -->
+
+{{ .Page.TableOfContents }}