Dave Page 92dcb0a23d Handle symlinks properly in the directory browser.
This change properly handles symlinks by expanding any it finds in the path
and issuing a redirect to the canonical location.

Whilst we're here, display links as such on the pages, sort directory listings
so the parent link is always at the top, and avoid unnecessary redirects caused
by missing /'s on URLs.
2016-11-30 17:51:33 +09:00
2016-10-18 09:56:34 +01:00
2012-01-14 18:58:30 +01:00
2016-06-23 17:59:45 +02:00

The PostgreSQL website
======================

The code in this repository is what backs the website at www.postgresql.org.

The authoritative repository for this code is on git.postgresql.org, but it's
free to be mirrored anywhere.

Technology
----------
The website code is written in `Python <http://www.python.org>`_ using
the `Django <http://www.djangoproject.com/>`_ framework. Not surprisingly,
`PostgreSQL <http://www.postgresql.org>`_ is used as the database. Further details
about the code and technology can be found in the different documents in the
docs directory.

Content
-------
A fair amount of the content pages of the website are just static HTML templates.
If you wish to edit these, you only need to look at the templates/pages/
subdirectory. The content in here is simple HTML, and can be edited as such.

Contributing
------------
We appreciate all (most?) contributions to this project. If you wish to
contribute, be sure to sign up to the `pgsql-www <http://www.postgresql.org/community/lists/>`_
mailinglist for any discussions, and post any suggested patches there. If you
want to make any major changes, be sure to have discussed those on the list first.

Licence
-------
The code for the website is licensed under
`The PostgreSQL Licence <http://www.opensource.org/licenses/postgresql>`_, which is
closely related to the BSD licence.
Description
Mirror of the code behind www.postgresql.org
Readme 11 MiB
Languages
HTML 85.3%
Python 12.4%
CSS 1.3%
JavaScript 0.5%
PLpgSQL 0.2%
Other 0.1%