On 11/9/16 12:07 PM, Magnus Hagander wrote:
> By that article you linked, it's important not to link to pages that
> don't exist. So we should at least verify that the page does exist in
> the current version (the same way that we do for the links at the top of
> the pages for old versions). IIRC someone (sorry, this is a long time
> ago, can't remember who or why) mentioned that the pages can get
> severely punished if the canonical link goes to a 404.
OK, good point. Can you help with the code? I suppose it needs
something along the lines of
{%if current in supported_versions%}
...
{%endif}
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services