From 223b80f420867922f12502d94743fab8cc9803a6 Mon Sep 17 00:00:00 2001 From: Jessica Huynh Date: Thu, 25 Jun 2020 02:09:56 -0400 Subject: [PATCH] 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 --- content/en/content-management/taxonomies.md | 2 +- layouts/shortcodes/page-kinds.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/content-management/taxonomies.md b/content/en/content-management/taxonomies.md index 869193cb3..c69d189db 100644 --- a/content/en/content-management/taxonomies.md +++ b/content/en/content-management/taxonomies.md @@ -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. -{{< page-kinds >}} +{{% page-kinds %}} ### Default Destinations diff --git a/layouts/shortcodes/page-kinds.html b/layouts/shortcodes/page-kinds.html index f6cb288af..968a7a5fb 100644 --- a/layouts/shortcodes/page-kinds.html +++ b/layouts/shortcodes/page-kinds.html @@ -4,4 +4,4 @@ | `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`) | | `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`) | \ No newline at end of file +| `term` | The landing page for one taxonomy's term | term `awesome` in `tags` taxonomy (`/tags/awesome/index.html`) |