Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to automatically remove "Powered by ..." in Pelican CMS?

Tags:

python

pelican

When generating content using Pelican, everything is Ok except that I see in the footer "Proudly powered by Pelican ..."

I want to get rid of it. I know I can remove it from the generated files manually, but that is tedious.

Is there a way to prevent the generation of the above phrase by asking Pelican to do that for me? Some magic Pelican command or settings, maybe?

like image 318
Shoko Avatar asked Dec 19 '25 23:12

Shoko


1 Answers

It all depends on which theme you are using.

You must be granted a permission to do that if you decide to publish your content. Check the license under which a given theme is distributed by its author. You can design your own theme though.

SoMA theme, for instance, as the default theme, uses base.html file which is inherited by other layout components using {% extends "base.html" %}.

<footer id="contentinfo" class="body">
    <address id="about" class="vcard body">
        Proudly powered by <a href="http://getpelican.com/">Pelican</a>,
        which takes great advantage of <a href="http://python.org">Python</a>.
    </address><!-- /#about -->
</footer><!-- /#contentinfo -->

You may find some other themes (actually I did not find on the ones hosted on GitHub), use an explicit footer.html file, search for it and modify at your will.

In all cases, there is no predefined magic pelican command that does what you want. That is done through the theme you choose to use.