We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e46b1a commit ec67a7fCopy full SHA for ec67a7f
nikola/post.py
@@ -115,7 +115,7 @@ def __init__(
115
self.source_path = source_path # posts/blah.txt
116
self.post_name = os.path.splitext(source_path)[0] # posts/blah
117
# cache[\/]posts[\/]blah.html
118
- 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")
119
# cache/posts/blah.html
120
self._base_path = self.base_path.replace('\\', '/')
121
self.metadata_path = self.post_name + ".meta" # posts/blah.meta
0 commit comments