Open NicoHood opened 3 years ago
I also noticed this and came here to report it. However, I subsequently realised that no sane crawler is going to index a page returning a 404 status, so the whole property is unnecessary.
True, but I guess the fix won't hurt, will it?
That is also true and at least it will be correct, but as a "less code" guy I'd rather lose it :/
I'd keep it. Otherwise someone will want to add it again in 3 years. It is clear and it is correct (in the PR). However it is a nice to know information, maybe we could add a comment?
Otherwise someone will want to add it again in 3 years
Ha! Fair enough, let's merge this. Easily overridden anyway.
https://github.com/getgrav/grav-plugin-error/blame/develop/pages/error.md#L3
Does not work, and should be instead:
I found no reason why the first one should work, and it does not for me.
PR: https://github.com/getgrav/grav-plugin-error/pull/43