Skip to content
Permalink
Browse files
Fix slug path handler typo (#2256)
  • Loading branch information
Kwpolska committed Feb 20, 2016
1 parent 883827e commit 5724c0dc16c48abc6715097506fd92a2e67c13e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/nikola.py
@@ -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:

0 comments on commit 5724c0d

Please sign in to comment.