Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #2246
  • Loading branch information
ralsina committed Mar 9, 2016
1 parent 6e46b1a commit ec67a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/post.py
Expand Up @@ -115,7 +115,7 @@ def __init__(
self.source_path = source_path # posts/blah.txt
self.post_name = os.path.splitext(source_path)[0] # posts/blah
# cache[\/]posts[\/]blah.html
self.base_path = os.path.join(self.config['CACHE_FOLDER'], self.post_name + ".html")
self.base_path = os.path.join(self.config['CACHE_FOLDER'], self.source_path + ".html")
# cache/posts/blah.html
self._base_path = self.base_path.replace('\\', '/')
self.metadata_path = self.post_name + ".meta" # posts/blah.meta
Expand Down

0 comments on commit ec67a7f

Please sign in to comment.