From 7b7701fa5d04bb63f0ef0b59a43acca247fe9c7a Mon Sep 17 00:00:00 2001 From: DhammaCharts <100090806+DhammaCharts@users.noreply.github.com> Date: Mon, 11 Jul 2022 14:56:24 +0100 Subject: [PATCH] add _index.md to nested folder for tree --- content/test_folder/_index.md | 4 ++++ content/test_folder/other_test_folder_2/_index.md | 4 ++++ layouts/_default/single.html | 5 ----- layouts/index.html | 5 ----- 4 files changed, 8 insertions(+), 10 deletions(-) create mode 100644 content/test_folder/_index.md create mode 100644 content/test_folder/other_test_folder_2/_index.md diff --git a/content/test_folder/_index.md b/content/test_folder/_index.md new file mode 100644 index 000000000..8817e6243 --- /dev/null +++ b/content/test_folder/_index.md @@ -0,0 +1,4 @@ +--- +title: M Folder Title 1 +--- +test diff --git a/content/test_folder/other_test_folder_2/_index.md b/content/test_folder/other_test_folder_2/_index.md new file mode 100644 index 000000000..f8d8962de --- /dev/null +++ b/content/test_folder/other_test_folder_2/_index.md @@ -0,0 +1,4 @@ +--- +title: Folder Title 2 +--- +test diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f304f8efb..b10830274 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -57,11 +57,6 @@ {{partial "menu-hugo.html" .}} - -