diff options
author | Pedro H <5179251+pedrohdz@users.noreply.github.com> | 2019-01-20 19:10:43 +0100 |
---|---|---|
committer | Pedro Hernandez <pedher@avinode.com> | 2019-01-20 19:18:20 +0100 |
commit | be0a4105c4e748b9abe91893544a5362d8a23772 (patch) | |
tree | 9513dbd8834e7be0cae0b713a66964232bc559aa /voce | |
parent | b0d1a0b1facf05805e09c7e7994ca225cd55bcea (diff) | |
download | pelican-themes-be0a4105c4e748b9abe91893544a5362d8a23772.tar.gz |
Handle Pelican >= 4.0 slugs in feeds
Since Pelican 4.0, `CATEGORY_FEED_ATOM` and `TAG_FEED_ATOM` are expected
to use `{slug}`, not `%s`. Seems to have been introduced in
getpelican/pelican#2383.
This would cause the following error:
```
CRITICAL: TypeError: not all arguments converted during string formatting
```
This change allows for backwards and forward compatibility.
Diffstat (limited to 'voce')
0 files changed, 0 insertions, 0 deletions