Regular h1
Heading <h1>
Link to resource homepage, underneath h1
If the page is part of a larger resource, the resource homepage can be displayed underneath, by adding this in the frontmatter with resource.ref
:
resource:
ref: /some/ref # uses the ref value of the resource's homepage
This will use the name of page with the specified ref
as the link name and include the “in” in a paragraph below the heading. It looks like this:
With one or more links to any resources, inside h1
If a page requires display of multiple links and/or full control over what the link name will be, this can be done in the frontmatter with parent_in_h1
. Note: when you use parent_in_h1
, it will be included inside the h1
.
One or more items can be specified. In each, the ref
attribute is the ref
attribute of the page you want to display, and the name
is what the link name should be. It can be one of title
, nav_title
or title_html
(taken from the frontmatter of the page you’re linking to), or, for full flexibility, it can be a string.
parent_in_h1:
- ref: /atag/at/a/glance
name: title # use the page's title value
- ref: /wcag/at/a/glance
name: nav_title # use the page's nav_title value
- ref: /uaag/at/a/glance
name: title_html # use the page's title_html value
- ref: /uaag/at/a/glance
name: "My link name" # name it any way you like
This will look like this: