diff --git a/_includes/alternative-schema-entry.md b/_includes/alternative-schema-entry.md index 59dd92b0d0..68d6813619 100644 --- a/_includes/alternative-schema-entry.md +++ b/_includes/alternative-schema-entry.md @@ -1,4 +1,5 @@ -# {{ page.collection }} +{% assign registry = site.collections | where:"label", page.collection | first %} +# {{ registry.name }} ## {{ page.slug }} - {{ page.description }} diff --git a/_includes/extension-entry.md b/_includes/extension-entry.md index ee2dd4a504..e1028fbfa9 100644 --- a/_includes/extension-entry.md +++ b/_includes/extension-entry.md @@ -1,4 +1,5 @@ -# {{ page.collection }} +{% assign registry = site.collections | where:"label", page.collection | first %} +# {{ registry.name }} ## {{ page.slug }} - {{ page.description }} diff --git a/_includes/format-entry.md b/_includes/format-entry.md index 1bea284e40..e04e8cf23c 100644 --- a/_includes/format-entry.md +++ b/_includes/format-entry.md @@ -1,4 +1,5 @@ -# {{ page.collection }} +{% assign registry = site.collections | where:"label", page.collection | first %} +# {{ registry.name }} ## {{ page.slug }} - {{ page.description }} diff --git a/_includes/namespace-entry.md b/_includes/namespace-entry.md index 59dd92b0d0..68d6813619 100644 --- a/_includes/namespace-entry.md +++ b/_includes/namespace-entry.md @@ -1,4 +1,5 @@ -# {{ page.collection }} +{% assign registry = site.collections | where:"label", page.collection | first %} +# {{ registry.name }} ## {{ page.slug }} - {{ page.description }} diff --git a/_includes/tag-kind-entry.md b/_includes/tag-kind-entry.md index 06bec1b63a..0083fff309 100644 --- a/_includes/tag-kind-entry.md +++ b/_includes/tag-kind-entry.md @@ -1,4 +1,5 @@ -# {{ page.collection }} +{% assign registry = site.collections | where:"label", page.collection | first %} +# {{ registry.name }} ## {{ page.slug }} - {{ page.description }} diff --git a/registries/_draft-feature/alternativeSchema.md b/registries/_draft-feature/alternativeSchema.md index 01147f2b40..e7d15661bb 100644 --- a/registries/_draft-feature/alternativeSchema.md +++ b/registries/_draft-feature/alternativeSchema.md @@ -6,7 +6,8 @@ description: x-oas-draft-alternativeSchema layout: default --- -# {{ page.collection }} +{% assign registry = site.collections | where:"label", page.collection | first %} +# {{ registry.name }} ## {{ page.slug }} - {{ page.description }}