PeterSmith.Org

Pelican problems

    I use Pelican to publish my little blog and it all works pretty well. If you are reading this, then its working.

    However, there is a wee problem with the titles of posts when they contain capitals. Pelican uses the Typogrify library, and when a post has a title with two or more caps, it tries to surround them with a caps tag. Alas, whilst in most instances that would work ok, in the title of a post–which is also a hyperlink–it falls over and produces code that looks like:

    
    <a href="https://www.petersmith.org/blog/2015/09/running-with-asics/" rel="bookmark" title="Permanent Link to: Running with <span class="caps">ASICS</span>">Running with <span class="caps">ASICS</span></a>
    

    which renders like:

    
    ASICS">Running with ASICS
    

    Instead of:

    
    Running with ASICS
    

    I could spend some time fixing it, but I am hoping that someone else will get to it before me :)


    Webmentions
    If you webmention this page, please let me know the URL of your page.

    BTW: Your webmention won't show up until I next "build" my site.

    Word count: 200 (about 1 minutes)

    Published:

    Updated: 29 Nov '15 20:39

    Author: Peter Smith

    Permalink: https://petersmith.org/blog/2015/11/29/pelican-problems/

    Section: blog

    Kind: page

    Bundle type: leaf

    Source: blog/2015/11/29/pelican-problems/index.org