Simplified the fix as per comment
Simplified the fix as per comment

https://github.com/getpelican/pelican-plugins/pull/936#issuecomment-338056963

talha131/pelican-plugins,howthebodyworks/pelican-plugins,howthebodyworks/pelican-plugins,mikitex70/pelican-plugins,wilsonfreitas/pelican-plugins,xsteadfastx/pelican-plugins,wilsonfreitas/pelican-plugins,MarkusH/pelican-plugins,talha131/pelican-plugins,talha131/pelican-plugins,mortada/pelican-plugins,mikitex70/pelican-plugins,rlaboiss/pelican-plugins,danmackinlay/pelican-plugins,rlaboiss/pelican-plugins,MarkusH/pelican-plugins,xsteadfastx/pelican-plugins,UHBiocomputation/pelican-plugins,UHBiocomputation/pelican-plugins,UHBiocomputation/pelican-plugins,danmackinlay/pelican-plugins,xsteadfastx/pelican-plugins,danmackinlay/pelican-plugins,UHBiocomputation/pelican-plugins,MarkusH/pelican-plugins,danmackinlay/pelican-plugins,MarkusH/pelican-plugins,mikitex70/pelican-plugins,rlaboiss/pelican-plugins,wilsonfreitas/pelican-plugins,mortada/pelican-plugins,howthebodyworks/pelican-plugins,howthebodyworks/pelican-plugins,talha131/pelican-plugins,mortada/pelican-plugins,mortada/pelican-plugins,rlaboiss/pelican-plugins,talha131/pelican-plugins,xsteadfastx/pelican-plugins,MarkusH/pelican-plugins,mortada/pelican-plugins,mikitex70/pelican-plugins,wilsonfreitas/pelican-plugins