Skip to content

Commit

Permalink
Explain how to disable rendering for author pages
Browse files Browse the repository at this point in the history
  • Loading branch information
willfaught committed Jun 28, 2024
1 parent 8cddbe0 commit c58bbe0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,16 @@ Support for authors, categories, series, and tags taxonomies is built in.
Set `default` to `true` in the front matter of an author term page for that author to be credited in regular pages that have no authors parameter.
A default author must be referenced at least once explicitly in a regular page.
To disable the rendering of author pages, add this to `yoursite/hugo.toml`:
```toml
[[cascade]]
[cascade._target]
path = '{/authors,/authors/**}'
[cascade.build]
render = 'never'
```
The `email` and `url` parameters in the front matter of an author term page are used in feeds if present.
## Layouts
Expand Down

0 comments on commit c58bbe0

Please sign in to comment.