|
2 | 2 |
|
3 | 3 | {% block layout %} |
4 | 4 | <main id="content" class="hxBox hxMd"> |
5 | | - <h1>{{ page.title }} |
6 | | - {% include 'partials/min-version.njk' %} |
7 | | - </h1> |
| 5 | + <header> |
| 6 | + <h1> |
| 7 | + {{ page.title }} |
| 8 | + {% include 'partials/min-version.njk' %} |
| 9 | + </h1> |
| 10 | + |
| 11 | + {% block page_header %} |
| 12 | + {# extra header content goes here #} |
| 13 | + {% endblock %} |
| 14 | + </header> |
8 | 15 |
|
9 | 16 | {% block content %} |
10 | 17 | {# freeform page content goes here #} |
11 | 18 | {% endblock %} |
12 | 19 |
|
13 | 20 | {# ATTRIBUTES #} |
14 | 21 | <section> |
15 | | - <h2 id="attributes">Attributes</h2> |
16 | | - <p> |
17 | | - Attributes enable declarative configuration of an element, |
18 | | - via HTML markup. |
19 | | - </p> |
| 22 | + <header> |
| 23 | + <h2 id="attributes">Attributes</h2> |
| 24 | + <p> |
| 25 | + Attributes enable declarative configuration of an element, |
| 26 | + via HTML markup. |
| 27 | + </p> |
| 28 | + </header> |
| 29 | + |
20 | 30 | {% block attributes %} |
21 | | - <p class="hxSubdued"> |
22 | | - <small> |
23 | | - <hx-icon type="info-circle"></hx-icon> |
24 | | - This element does not have any configurable attributes. |
25 | | - </small> |
| 31 | + <p class="hxSubdued hxSubBody"> |
| 32 | + <hx-icon type="info-circle"></hx-icon> |
| 33 | + This element does not have any configurable attributes. |
26 | 34 | </p> |
27 | 35 | {% endblock %} |
28 | 36 | </section> |
29 | 37 |
|
30 | 38 | {# PROPERTIES #} |
31 | 39 | <section> |
32 | | - <h2 id="properties">Properties</h2> |
33 | | - <p> |
34 | | - JavaScript properties enable programmatic access to an element's |
35 | | - configuration and state. |
36 | | - </p> |
| 40 | + <header> |
| 41 | + <h2 id="properties">Properties</h2> |
| 42 | + <p> |
| 43 | + JavaScript properties enable programmatic access to an element's |
| 44 | + configuration and state. |
| 45 | + </p> |
| 46 | + </header> |
| 47 | + |
37 | 48 | {% block properties %} |
38 | | - <p class="hxSubdued"> |
39 | | - <small> |
40 | | - <hx-icon type="info-circle"></hx-icon> |
41 | | - This element does not have any configurable properties. |
42 | | - </small> |
| 49 | + <p class="hxSubdued hxSubBody"> |
| 50 | + <hx-icon type="info-circle"></hx-icon> |
| 51 | + This element does not have any configurable properties. |
43 | 52 | </p> |
44 | 53 | {% endblock %} |
45 | 54 | </section> |
|
48 | 57 | {% include 'partials/see-also.njk' %} |
49 | 58 | {% endif %} |
50 | 59 | </main> |
| 60 | + |
51 | 61 | <aside class="hxSiderail hxBox hxMd"> |
52 | | - <h1 class="hxHeading-4">On this page:</h1> |
| 62 | + <header> |
| 63 | + <h1 class="hxHeading-4">On this page:</h1> |
| 64 | + </header> |
| 65 | + |
53 | 66 | <nav class="article-toc"> |
54 | 67 | {{ page.raw | toc | safe }} |
55 | 68 | <a href="#attributes">Attributes</a> |
|
0 commit comments