if dirs_to_root:
root = "../"*dirs_to_root
else:
- root = ''
+ root = './'
self.root = root
path = '/'.join(directories) + '/' + \
self._fileBaseName.replace(".tmpl", ".html")
# blog post is ['', 'Russian', 'blog', year, month, day, filename]
if len(dirs) != 7: # Not a blog post
return None, None, None, None
- ymd = tuple(dirs[3:-1])
+ ymd = tuple(dirs[3:6])
filename = self._fileBaseName
prev_key = prev_blog_post = current_key = current_blog_post = \
% quote_string(query)
def lurkmoar(self, query):
- return "https://lurkmore.to/%s" % quote_string(
+ return "http://lurklurk.com/%s" % quote_string(
query.replace(' ', '_'), ext_safe=',')