From 7b55b0b2432d1c8830c03d6d9d925055dc4d76ee Mon Sep 17 00:00:00 2001 From: John Mulhausen Date: Tue, 9 Feb 2016 12:09:21 -0800 Subject: [PATCH] Example TOC include file use --- _layouts/docwithnav.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_layouts/docwithnav.html b/_layouts/docwithnav.html index 1284c61c75..093b308ea0 100755 --- a/_layouts/docwithnav.html +++ b/_layouts/docwithnav.html @@ -17,6 +17,9 @@ layout: headerfooter
+ {% comment %} assign tree = site.data[page.toc].toc + {% assign tree = site.data[page.versionfilesafe][page.section].toc %} + {% include tree.html %}{% endcomment %}