Merge pull request #1438 from mlissner/patch-2

Add reference to SLUGIFY_SOURCE
This commit is contained in:
Justin Mayer 2014-08-23 13:05:20 -07:00
commit 2b130fb4dd

View file

@ -66,7 +66,7 @@ Setting name (followed by default value, if any)
For example, if you would like to extract both the For example, if you would like to extract both the
date and the slug, you could set something like: date and the slug, you could set something like:
``'(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*)'``. ``'(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*)'``.
See :ref:`path_metadata`. See :ref:`path_metadata` and ``SLUGIFY_SOURCE``.
``PATH_METADATA = ''`` Like ``FILENAME_METADATA``, but parsed from a page's ``PATH_METADATA = ''`` Like ``FILENAME_METADATA``, but parsed from a page's
full path relative to the content source directory. full path relative to the content source directory.
See :ref:`path_metadata`. See :ref:`path_metadata`.