Browse Source

Document assets on sections doc

index-subcmd
cmal 6 years ago
parent
commit
7875387a04
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      docs/content/documentation/content/section.md

+ 2
- 0
docs/content/documentation/content/section.md View File

@@ -14,6 +14,8 @@ not have any content or metadata. If you would like to add content or metadata,
`_index.md` file at the root of the `content` folder and edit it just as you would edit any other
`_index.md` file; your `index.html` template will then have access to that content and metadata.

Any non-Markdown file in the section folder is added to the `assets` collection of the section, as explained in the [Content Overview](./documentation/content/overview.md#assets-colocation). These files are then available from the Markdown using relative links.

## Front-matter

The `_index.md` file within a folder defines the content and metadata for that section. To set


Loading…
Cancel
Save