Skip to content

Commit

Permalink
Fix slug path handler typo (#2256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed Feb 20, 2016
1 parent 883827e commit 5724c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -1513,7 +1513,7 @@ def slug_path(self, name, lang):
Example:
links://slug/yellow-camaro => /posts/cars/awful/yellow-camaro/index.html
link://slug/yellow-camaro => /posts/cars/awful/yellow-camaro/index.html
"""
results = [p for p in self.timeline if p.meta('slug') == name]
if not results:
Expand Down

0 comments on commit 5724c0d

Please sign in to comment.