From ec3e53059ef9e53359fc676ca567de8759d933c5 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 20 Jul 2024 11:37:35 -0700 Subject: [PATCH] Update override template examples --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 125beee7..c20d893f 100644 --- a/README.md +++ b/README.md @@ -949,17 +949,17 @@ Body: None. ### Override -Most code is in partials that are included by the layouts. -Elements can be added, changed, or removed easily by overriding the corresponding layout or partial. - -For example, the layouts `list.html`, `single.html`, `taxonomy.html`, and `term.html` -include the partial `paige/article.html`. -`paige/article.html` includes the partials `paige/metadata.html`, `paige/toc.html`, and `paige/content.html`. -To change the page title for those layouts, change `paige/metadata.html`. -To change the page title for `single.html`, -replace the use of `paige/article.html` in `single.html` with the use of -`paige/metadata.html`, `paige/toc.html`, and `paige/content.html`, -then replace that use of `paige/metadata.html` with your own design. +Most code is in partial templates that the layout templates use. +Code can be added, changed, or removed easily by overriding the corresponding layout or partial template. + +For example, `layouts/_default/list.html` and `layouts/_default/single.html` include `layouts/partial/paige/page.html`. +`layouts/partial/paige/page.html` includes `layouts/partial/paige/page-header.html`. +To change the page title for those layout templates, change `layouts/partial/paige/page-header.html`. + +To change the page title for `layouts/_default/single.html` only, +replace the inclusion of `layouts/partial/paige/page.html` in `layouts/_default/single.html` with its content, +then in that, replace the inclusion of `layouts/partial/paige/page-header.html` with its content, +then in that, change the page title. To change the favicon, override these files: