Added another option to remove content

This commit is contained in:
George 2025-01-12 15:43:14 -03:00 committed by GitHub
parent f233233e19
commit 9ca1d52c04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -156,7 +156,19 @@ Depending on your specified footer behavior, the sign up form either will appear
## Removing content ## 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 ### Removing the blog page