From b8b525b213e6256513dce8ef20aa82889b4a63c2 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Thu, 23 Apr 2020 19:56:10 +0800 Subject: Initial commit Custom alabaster theme 3 blogposts and 2 metaposts Deployment script --- alabaster-lite/sidebars/navigation.html | 50 +++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 alabaster-lite/sidebars/navigation.html (limited to 'alabaster-lite/sidebars/navigation.html') diff --git a/alabaster-lite/sidebars/navigation.html b/alabaster-lite/sidebars/navigation.html new file mode 100644 index 0000000..3d609b0 --- /dev/null +++ b/alabaster-lite/sidebars/navigation.html @@ -0,0 +1,50 @@ +{% macro _toc_tree_inner(toc) -%} + +{%- endmacro %} + +{% macro toc_tree(toc) -%} + {# This ignores H1s #} + {% for toc_item in toc %} + {{ _toc_tree_inner(toc_item.children) }} + {% endfor %} +{%- endmacro %} + +{% macro nav_tree(nav) -%} + +{%- endmacro %} + +

Navigation

+ + -- cgit v1.2.3