Add bare_title to metadata when title exists

When `TYPOGRIFY=True` and you have a post with ALL CAPS in its title, the <title> tag of the page will incorrectly contain a <span class="caps"> element.

By allowing use of `bare_title` in templates, this allows you to use the "typogrified" version of the title in your page content, while using the bare title in the <title> tag.
This commit is contained in:
Matthew Scott 2013-08-07 16:23:53 -05:00
commit 7af4e3336a
5 changed files with 30 additions and 2 deletions

View file

@ -9,6 +9,8 @@ Release history
longer article-specific
* Deprecate ``FILES_TO_COPY`` in favor of ``STATIC_PATHS`` and
``EXTRA_PATH_METADATA``
* Add ``bare_title`` to metadata when ``title`` exists,
allowing for non-typogrified ``<title>`` tag when ``TYPOGRIFY=True``.
3.2.1 and 3.2.2
===============