Skip to content
This repository was archived by the owner on Mar 26, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 12 additions & 15 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ themesDir = "node_modules/"
jumbotron_tagline_class = "col-sm-14"
jumbotron_btn_class = "btn btn-sm btn-primary"
featured_content_publish_target = "eclipse_iot"
sidebar_layout = "sidebar_block"
show_collapsible_menu = true

favicon = "favicon.ico"
share_img = "iot-logo-social.png"
Expand Down Expand Up @@ -98,19 +100,13 @@ themesDir = "node_modules/"
url = "/adopters/testbeds/"
pre = "<i data-feather=\"package\"></i>"
weight = "2"

[[menu.sidebar]]
parent ="adopters"
name = "Testbeds"
url = "/adopters/testbeds/"
weight = "2"
identifier = "testbeds"

[[menu.sidebar]]
parent ="testbeds"
name = "Asset Tracking"
url = "/adopters/testbeds/asset-tracking/"
weight = "1"
weight = "2"

[[menu.sidebar]]
parent ="testbeds"
Expand Down Expand Up @@ -171,13 +167,13 @@ themesDir = "node_modules/"
pre = "<i data-feather=\"at-sign\"></i>"
weight = 3

[[menu.sidebar]]
parent ="community"
name = "Resources"
url = "/community/resources"
pre = "<i data-feather=\"folder\"></i>"
weight = 4
# [[menu.sidebar]]
# parent ="community"
# name = "Resources"
# url = "/community/resources"
# pre = "<i data-feather=\"folder\"></i>"
# weight = 4

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the changes here,
I was confused by the previous logic that we need to create middle-layer sidebar menus twice in order to show on the page so that I made some modifications to just create once. Please also refer to the changes I made in "layouts/partials/sidebar.html".

This gives me a better understanding to create the mobile-sidebar.

[[menu.sidebar]]
name = "Projects"
url = "/projects/"
Expand All @@ -202,7 +198,8 @@ themesDir = "node_modules/"
parent ="community"
name = "Resources"
url = "/community/resources/"
weight = 7
pre = "<i data-feather=\"folder\"></i>"
weight = 4
identifier = "resources"

[[menu.sidebar]]
Expand Down
Loading