From: Oleg Broytman Date: Tue, 21 May 2024 16:34:04 +0000 (+0300) Subject: Fix(phd.py): Fix href to root X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;ds=sidebyside;h=7127c2a2c65d8af2e18f2ca68328dc03e0465e60;p=phdru.name%2Fphdru.name.git Fix(phd.py): Fix href to root --- diff --git a/phd.py b/phd.py index 4aa206c..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")