X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=phd.py;h=4aa206c47fc1637a83cc65b1b6955a9efbc1fbdd;hb=HEAD;hp=a68db56e5cb2b4f601bdc84f398ab7ecd93c4cd3;hpb=ee424085d4a516ac2e599e66f023f05dd3a7b7b9;p=phdru.name%2Fphdru.name.git diff --git a/phd.py b/phd.py index a68db56..0a6a4e5 100644 --- a/phd.py +++ b/phd.py @@ -31,7 +31,7 @@ class phd(Template): if dirs_to_root: root = "../"*dirs_to_root else: - root = '' + root = './' self.root = root path = '/'.join(directories) + '/' + \ self._fileBaseName.replace(".tmpl", ".html") @@ -166,7 +166,7 @@ class phd(Template): % 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=',')