Re: an attempt to fix the Google search problem - Mailing list pgsql-www

From Peter Eisentraut
Subject Re: an attempt to fix the Google search problem
Date
Msg-id 18835ddb-6c63-2234-c170-8dddfdbdb604@2ndquadrant.com
Whole thread Raw
In response to Re: an attempt to fix the Google search problem  (Magnus Hagander <magnus@hagander.net>)
List pgsql-www
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



pgsql-www by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: an attempt to fix the Google search problem
Next
From: Peter Eisentraut
Date:
Subject: CSS updates for new documentation build