📝 Fix reference to mainSections in docs

This commit is contained in:
James Panther
2022-04-03 14:26:42 +10:00
parent c9cae08436
commit 49a71fafaf
@@ -49,4 +49,4 @@ All homepage layouts have the option of displaying recent articles below the mai
![Profile layout with recent articles](home-profile-list.jpg)
The articles listed in this section are derived from the `homepage.mainSections` setting which allows for whatever content types you are using on your website. For instance, if you had content sections for _posts_ and _projects_ you could set this setting to `["posts", "projects"]` and all the articles in these two sections would be used to populate the recent list. The theme expects this setting to be an array so if you only use one section for all your content, you should set this accordingly: `["blog"]`.
The articles listed in this section are derived from the `mainSections` setting which allows for whatever content types you are using on your website. For instance, if you had content sections for _posts_ and _projects_ you could set this setting to `["posts", "projects"]` and all the articles in these two sections would be used to populate the recent list. The theme expects this setting to be an array so if you only use one section for all your content, you should set this accordingly: `["blog"]`.