diff --git a/CUSTOMIZE.md b/CUSTOMIZE.md index 2b0e6d6..f51b1a9 100644 --- a/CUSTOMIZE.md +++ b/CUSTOMIZE.md @@ -156,7 +156,19 @@ Depending on your specified footer behavior, the sign up form either will appear ## Removing content -Since this template have a lot of content, you may want to delete some of it. Here is a list of the main components that you may want to delete, and how to do it. Don't forget if you delete a page, to update the `nav_order` of the remaining pages. +Since this template have a lot of content, you may want to remove some of it. The easiest way to achieve this and avoid merge conflicts when updating your code (as [pointed by CheariX ](https://github.com/alshedivat/al-folio/pull/2933#issuecomment-2571271117)) is to add the unwanted files to the `excludes` section in your `_config.yml` file instead of actually deleting them, for example: + +```yml +excludes: + ... + - _news/announcement_*.md + - _pages/blog.md + - _posts/ + - _projects/?_project.md + - assets/jupyter/blog.ipynb +``` + +Here is a list of the main components that you may want to delete, and how to do it. Don't forget if you delete a page to update the `nav_order` of the remaining pages. ### Removing the blog page