From 0e3a6155e2270a09e022469ea15c2ea6c32d06fc Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 25 May 2021 21:23:36 -0600 Subject: fix bug --- src/pyssg/template.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/pyssg/template.py b/src/pyssg/template.py index 932b6ae..3ddcf82 100644 --- a/src/pyssg/template.py +++ b/src/pyssg/template.py @@ -219,6 +219,9 @@ class Template(HF): os.chdir('rss') self.rss = self.__read_template('rss.xml') + # go back to templates + os.chdir('..') + # sitemap os.chdir('sitemap') self.sitemap = self.__read_template('sitemap.xml') -- cgit v1.2.3-70-g09d2