diff --git a/_includes/navigation.html b/_includes/navigation.html index ea7f0a7..5351313 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -9,7 +9,7 @@ {% assign default_paths = site.pages | map: "path" %} - {% assign page_paths = site.navigation_pages | default: default_paths %} + {% assign page_paths = site.data.theme.navigation_pages | default: default_paths %} {% for path in page_paths %} {% assign my_page = site.pages | where: "path", path | first %} diff --git a/example/_config.yml b/example/_config.yml index 980d2f7..29a5c58 100644 --- a/example/_config.yml +++ b/example/_config.yml @@ -44,14 +44,6 @@ feed: paginate: 10 paginate_path: /page:num/ -# Link to specific internal pages in the navigation. -# Create a custom list to override the default setting of including links to all -# pages that have a `title`. Add raw page paths in the order you'd like. - -# navigation_pages: -# - about.md -# - cv.md - # Exclude from processing. # The following items will not be processed, by default. Create a custom list # to override the default setting.