diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/pyssg/template.py | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,8 @@ CHANGES ======= +* add sitemap support + v0.3.1 ------ 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') |