-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For pelican 4, tags and categories |format must be updated to 'slug=' #21
Comments
|
That being said, this does not work for me. I get |
I'm using pelican 4 and it renders properly: themes/nest/templates/base.html: {% if TAG_FEED_ATOM and tag %}
themes/nest/templates/base.html: <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(slug=tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
themes/nest/templates/base.html: {% if TAG_FEED_RSS and tag %}
themes/nest/templates/base.html: <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(slug=tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" /> |
No doubt I'm doing something wrong. I'll try your approach. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
With Pelican 4, templates/base will traceback because new format requires:
format(slug=$PREVIOUSTEXT) for both categories and tags rss/atom feed
Regards,
Pablo
The text was updated successfully, but these errors were encountered: