From c58bbe05de3333205ca02c2b17d4eb67f835c8d1 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 28 Jun 2024 00:41:43 -0700 Subject: [PATCH] Explain how to disable rendering for author pages --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index f075641e..e725ca8d 100644 --- a/README.md +++ b/README.md @@ -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