Re: an attempt to fix the Google search problem

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: an attempt to fix the Google search problem
Дата
Msg-id 18835ddb-6c63-2234-c170-8dddfdbdb604@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: an attempt to fix the Google search problem  (Magnus Hagander <magnus@hagander.net>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: an attempt to fix the Google search problem
Следующее
От: Peter Eisentraut
Дата:
Сообщение: CSS updates for new documentation build