diff --git a/_config.yml b/_config.yml index 494a531950..e4dd4631e7 100644 --- a/_config.yml +++ b/_config.yml @@ -12,4 +12,11 @@ defaults: scope: path: docs values: - layout: sidebar \ No newline at end of file + layout: sidebar + +collections_dir: docs +collections: + Mobile: + output: true + caption: Mobile-related + sidebar: true \ No newline at end of file diff --git a/_layouts/sidebar.html b/_layouts/sidebar.html index ca8431b56f..2b9d260251 100644 --- a/_layouts/sidebar.html +++ b/_layouts/sidebar.html @@ -1,6 +1,14 @@ --- layout: default --- +{% for coll in site.collections %} + {% if coll.sidebar %} +