Re: an attempt to fix the Google search problem

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: an attempt to fix the Google search problem
Date: 2016-11-10 13:30:20
Message-ID: 18835ddb-6c63-2234-c170-8dddfdbdb604@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Peter Eisentraut 2016-11-10 13:55:54 CSS updates for new documentation build
Previous Message Magnus Hagander 2016-11-09 17:07:59 Re: an attempt to fix the Google search problem