Skip to content

Commit 3b5de05

Browse files
authored
Removed deprecated rel types
According to https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types `first`and `last` are deprecated. They are also no longer listed on https://html.spec.whatwg.org/multipage/links.html#linkTypes A discussion about this can be found on https://stackoverflow.com/q/42841618/534883
1 parent 854417d commit 3b5de05

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,7 @@ These elements provide information for how a document should be perceived, and r
228228
<!-- Provides a self reference - useful when the document has multiple possible references -->
229229
<link rel="self" type="application/atom+xml" href="https://example.com/atom.xml">
230230

231-
<!-- The first, last, previous, and next documents in a series of documents, respectively -->
232-
<link rel="first" href="https://example.com/article/">
233-
<link rel="last" href="https://example.com/article/?page=42">
231+
<!-- The previous, and next documents in a series of documents, respectively -->
234232
<link rel="prev" href="https://example.com/article/?page=1">
235233
<link rel="next" href="https://example.com/article/?page=3">
236234

0 commit comments

Comments
 (0)