]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
Fix(phd.py): Fix href to root
authorOleg Broytman <phd@phdru.name>
Tue, 21 May 2024 16:34:04 +0000 (19:34 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 21 May 2024 16:34:04 +0000 (19:34 +0300)
phd.py

diff --git a/phd.py b/phd.py
index 4aa206c47fc1637a83cc65b1b6955a9efbc1fbdd..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:
-            root = ''
+            root = './'
         self.root = root
         path = '/'.join(directories) + '/' + \
             self._fileBaseName.replace(".tmpl", ".html")