mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Convert RSS setting from %s to {slug}-style strings
This commit is contained in:
parent
76eebfe539
commit
06f637a23b
8 changed files with 184 additions and 142 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue