Link Typing
Explicitly indicate relationships between documents.
After Dark uses link typing to indicate semantic relationships between documents. By default the alternate
link type is used to highlight the presence of web feeds on the homepage and in taxonomy listings:
<link href="https://domain.example/index.xml" rel="alternate" type="application/rss+xml" title="After Dark">
<link href="https://domain.example/categories/privacy/index.xml" rel="alternate" type="application/rss+xml" title="After Dark">
<link href="https://domain.example/tags/color/index.xml" rel="alternate" type="application/rss+xml" title="After Dark">
In addition to defaults After Dark recognizes the prev
and next
link types if specified in page
Front Matter:
prev = "/series/learn-to-code/part-one/"
next = "/series/learn-to-code/part-three/"
Use prev
and next
link types for segmented articles,
Live Blog Postings or to mimic the traits of a series
taxonomy if no series taxonomy is present.
Link Types are commonly shown at the top of the page in text browsers such as ELinks as an auxiliary form of navigation and can help robots and users better understand relationships between your content.
Learn more about link types and Taxonomies in Hugo.