mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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:
parent
24e2ad5b3f
commit
7af4e3336a
5 changed files with 30 additions and 2 deletions
|
|
@ -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
|
||||
===============
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue