Added another option to remove content
This commit is contained in:
parent
f233233e19
commit
9ca1d52c04
14
CUSTOMIZE.md
14
CUSTOMIZE.md
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user