Fix page kinds shortcode not rendering on Taxonomies page (#1158)

* remove trailing space after "terms" in page-kinds shortcode

* use % style shortcode to render page-kinds markdown table
This commit is contained in:
Jessica Huynh authored and GitHub committed 2020-06-25 15:09:56 +09:00
1 parent a9b6fa9842
commit 223b80f420
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ disableKinds = ["taxonomy","term"]
{{< new-in "0.73.0" >}} We have fixed the before confusing page kinds used for taxonomies (see the listing below) to be in line with the terms used when we talk about taxonomies. We have been careful to avoid site breakage, and you should get an ERROR in the console if you need to adjust your `disableKinds` section. {{< new-in "0.73.0" >}} We have fixed the before confusing page kinds used for taxonomies (see the listing below) to be in line with the terms used when we talk about taxonomies. We have been careful to avoid site breakage, and you should get an ERROR in the console if you need to adjust your `disableKinds` section.
{{< page-kinds >}} {{% page-kinds %}}
### Default Destinations ### Default Destinations
+1 -1
View File
@@ -4,4 +4,4 @@
| `page` | The landing page for a given page | `my-post` page (`/posts/my-post/index.html`) | | `page` | The landing page for a given page | `my-post` page (`/posts/my-post/index.html`) |
| `section` | The landing page of a given section | `posts` section (`/posts/index.html`) | | `section` | The landing page of a given section | `posts` section (`/posts/index.html`) |
| `taxonomy` | The landing page for a taxonomy | `tags` taxonomy (`/tags/index.html`) | | `taxonomy` | The landing page for a taxonomy | `tags` taxonomy (`/tags/index.html`) |
| `term ` | The landing page for one taxonomy's term | term `awesome` in `tags` taxonomy (`/tags/awesome/index.html`) | | `term` | The landing page for one taxonomy's term | term `awesome` in `tags` taxonomy (`/tags/awesome/index.html`) |