Skip to content

Commit

Permalink
Clarified that index_site_pages indicates for which templates Barthol…
Browse files Browse the repository at this point in the history
…omew should populate site.pages.

Signed-off-by: John-Mason Shackelford <jpshack@gmail.com>
  • Loading branch information
jpshackelford committed Dec 7, 2023
1 parent e5812e8 commit 9f39b62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/bartholomew/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ It has a few pre-defined fields:
- base_url: a base URL that templates can use to construct full URLs to content. This can be overridden by setting the `-e BASE_URL="https://example.com"` environment variable for Spin.
- about: a brief description of the site
- theme: the name of the theme for the website from the `/themes/` folder
- index_site_pages: A list of templates that require `site.pages` to be populated.
- index_site_pages: A list of templates for which Bartholomew will populate `site.pages`. (For more on `site.pages` see [templates](./templates.md#the-site-object).)

## Extras

Expand Down
2 changes: 1 addition & 1 deletion content/bartholomew/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ In addition to the `page` object, there is also a `site` object. `site.pages` co
```

Note that the `site.pages` array has access to every single document in the `content` folder.
This part of the API may change in the future, as it does not scale terribly well.
See [below](#values-reference) for example values. This part of the API may change in the future, as it does not scale terribly well.

### The `env` Object

Expand Down

0 comments on commit 9f39b62

Please sign in to comment.