✏️ Fix minor typos

pull/26/head
James Panther 2021-11-04 12:35:44 +11:00
parent 116ae4cca5
commit 4c81fd4023
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ If the built-in homepage layouts aren't sufficient for your needs, you have the
To enable the custom layout, set `homepage.layout = "custom"` in the `params.toml` configuration file. To enable the custom layout, set `homepage.layout = "custom"` in the `params.toml` configuration file.
With the configuration value set, create a new `custom.html` file and place it in `layouts/partials/home/custom.html`. Now whatever is in the `custom.html` file will be placed in the content area of the site homepage. You can use whatever HTML, Tailwind, or Hugo templating functions to define your layout. With the configuration value set, create a new `custom.html` file and place it in `layouts/partials/home/custom.html`. Now whatever is in the `custom.html` file will be placed in the content area of the site homepage. You may use whatever HTML, Tailwind, or Hugo templating functions you wish to define your layout.
To include [recent articles](#recent-articles) on the custom layout, use the `recent-articles.html` partial. To include [recent articles](#recent-articles) on the custom layout, use the `recent-articles.html` partial.
@ -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) ![Profile layout with recent articles](home-profile-list.jpg)
The articles listed in this section are derived from the `homepage.listSections` 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 `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"]`.