Closed jaideep156 closed 2 months ago
Updating the _data/navigation.yml
doesn't prevent the collection from being rendered by the template, you still need to remove the actual data from the repository prior to deployment. Please see Adjusting Collections Included for more information.
Describe the bug After removing a navigation field in
_data/navigation.yml
, it still shows the default page of that navigation field.To Reproduce Steps to reproduce the behavior:
_data/navigation.yml
Delete the following code block:
Expected behavior When I go to
myusername.github.io/publications
ormyusername.github.io/talks
, it should show the404.md
page since these pages do not exist (as we removed both the fields from_data/navigation.yml
Please help me to:
Redirect ANY links apart from
/CV
,/year-archive
,/portfolio
redirect to the404.md
page.Screenshots
Desktop Information