jekyll-redirect-from
jekyll-redirect-from copied to clipboard
Use head/body tags in redirection markup
Rebased off latest master
Updated the PR name to reflect that! You’re right that they can be omitted according to the spec; html-validate is being more strict than the spec here. Also, interestingly, the Google style guide recommends their omission.
@cmbuckley Yep, I saw the Google recommendation as well. Thanks for posting a link here. In the light of the new info, is it necessary to proceed with the proposal?
Also, is html-validate parsing the document correctly as HTML5?
html-validate only validates HTML5 documents, but they do state strictness as a design choice.
I can see either side here; the PR isn’t strictly necessary and the validation rules can be set to warn-only, but I would struggle to consider this an “optimisation” and it would be nice to keep the validator rules for other parts of the content model. I haven’t found a nice way to exclude specific files from the validator.