From 9ca1d52c04de0124ec25bb286a63a5f465686379 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Sun, 12 Jan 2025 15:43:14 -0300 Subject: [PATCH] Added another option to remove content --- CUSTOMIZE.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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