]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - phd.py
Fix(Makefile): All generated files depend on `phd.py`
[phdru.name/phdru.name.git] / phd.py
diff --git a/phd.py b/phd.py
index a68db56e5cb2b4f601bdc84f398ab7ecd93c4cd3..0a6a4e54de9415790155401a26dba3a57c95496f 100644 (file)
--- a/phd.py
+++ b/phd.py
@@ -31,7 +31,7 @@ class phd(Template):
         if dirs_to_root:
             root = "../"*dirs_to_root
         else:
         if dirs_to_root:
             root = "../"*dirs_to_root
         else:
-            root = ''
+            root = './'
         self.root = root
         path = '/'.join(directories) + '/' + \
             self._fileBaseName.replace(".tmpl", ".html")
         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):
             % 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=',')
 
 
             query.replace(' ', '_'), ext_safe=',')