Skip to content

Commit 599f265

Browse files
committed
Encapsulate Microsoft page layout
1 parent 7ec03d3 commit 599f265

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

_includes/namespace-entry.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# <a href="..">{{ page.collection }}</a>
2+
3+
## {{ page.slug }} - {{ page.description }}
4+
5+
{{ include.summary }}
6+
7+
{% if page.issue %}
8+
### GitHub Issue
9+
10+
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
11+
{% endif %}

registries/_namespace/ms.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,8 @@ description: Extensions created and used by Microsoft
55
layout: default
66
---
77

8-
# <a href="..">{{ page.collection }}</a>
9-
10-
## {{ page.slug }} - {{ page.description }}
11-
12-
8+
{% capture summary %}
139
The `x-{{page.slug}}-` prefix is reserved for extensions created by Microsoft. These extensions are available for use by anyone.
10+
{% endcapture %}
1411

15-
{% if page.issue %}
16-
### GitHub Issue
17-
18-
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
19-
{% endif %}
12+
{% include namespace-entry.md summary=summary %}

0 commit comments

Comments
 (0)