diff --git a/README.md b/README.md index ce30fa45..a010275b 100644 --- a/README.md +++ b/README.md @@ -309,11 +309,11 @@ If `partials/paige-body-last.html` exists in the site, it is included at the end Most code is in partial templates that are included by the default layouts. Elements can easily be added or changed by overriding the corresponding layout or partial template. -For example, the default layouts `home.html`, `list.html`, `single.html`, `taxonomy.html`, and `term.html` include `paige-main.html`, +For example, the default layouts `home.html`, `list.html`, `single.html`, `taxonomy.html`, and `term.html` include `paige-article.html`, which includes `paige-title.html`, `paige-description.html`, `paige-date.html`, and `paige-content.html`. To change the page title for those default layouts, change `paige-title.html`. To change the page title for `single.html`, -replace the use of `paige-main.html` in `single.html` with the use of `paige-title.html`, `paige-description.html`, `paige-date.html`, and `paige-content.html`, +replace the use of `paige-article.html` in `single.html` with the use of `paige-title.html`, `paige-description.html`, `paige-date.html`, and `paige-content.html`, then replace that use of `paige-title.html` with your own design. ## Design diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1cd70666..00471b65 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,6 @@ {{ define "main" }} {{ if not .Params.paige_show_full_pages }} -{{ partial "paige-main.html" . }} +{{ partial "paige-article.html" . }} {{ end }} {{ partial "paige-pages.html" . }} {{ end }} diff --git a/layouts/_default/paige-search.html b/layouts/_default/paige-search.html index f23f2880..b5cda97f 100644 --- a/layouts/_default/paige-search.html +++ b/layouts/_default/paige-search.html @@ -1,4 +1,4 @@ {{ define "main" }} -{{ partial "paige-main.html" . }} +{{ partial "paige-article.html" . }} {{ partial "paige-search.html" . }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 237496b9..a8206344 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,3 +1,3 @@ {{ define "main" }} -{{ partial "paige-main.html" . }} +{{ partial "paige-article.html" . }} {{ end }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index d104b16d..b59eb138 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -1,5 +1,5 @@ {{ define "main" }} -{{ partial "paige-main.html" . }} +{{ partial "paige-article.html" . }} {{ if .Pages }}