Clarify taxonomies templates doc
This commit is contained in:
parent
601763307d
commit
e83d76bf8a
|
@ -3,13 +3,11 @@ title = "Taxonomies"
|
||||||
weight = 40
|
weight = 40
|
||||||
+++
|
+++
|
||||||
|
|
||||||
The default templates for the taxonomies pages are the following:
|
Gutenberg will look up the following files in the `templates` directory:
|
||||||
|
|
||||||
- `$TAXONOMY_NAME/single.html`
|
- `$TAXONOMY_NAME/single.html`
|
||||||
- `$TAXONOMY_NAME/list.html`
|
- `$TAXONOMY_NAME/list.html`
|
||||||
|
|
||||||
You can override any of those templates by putting one with the same path in the `templates` directory.
|
|
||||||
|
|
||||||
First, a `TaxonomyTerm` has the following fields:
|
First, a `TaxonomyTerm` has the following fields:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
|
|
Loading…
Reference in a new issue