Convert RSS setting from %s to {slug}-style strings

This commit is contained in:
MinchinWeb 2018-07-11 23:32:57 -06:00
commit 06f637a23b
8 changed files with 184 additions and 142 deletions

View file

@ -60,7 +60,7 @@ which you map the signals to your plugin logic. Let's take a simple example::
from pelican import signals
def test(sender):
print "%s initialized !!" % sender
print("{} initialized !!".format(sender))
def register():
signals.initialized.connect(test)