Skip to content

Commit

Permalink
Added another option to remove content
Browse files Browse the repository at this point in the history
  • Loading branch information
george-gca authored Jan 12, 2025
1 parent f233233 commit 9ca1d52
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion CUSTOMIZE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9ca1d52

Please sign in to comment.