From 09b96aff91012c1fb61275fa5da71593ee268b13 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 23 May 2021 17:42:01 -0600 Subject: add better version printing --- ChangeLog | 1 + src/pyssg/rss.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e8581a2..f8190ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ CHANGES ======= +* fix timezone * fix missing ref to obj * fix bad method call * ... literally 3 commits to fix a missing obj diff --git a/src/pyssg/rss.py b/src/pyssg/rss.py index 2aa7fb0..9cfe629 100644 --- a/src/pyssg/rss.py +++ b/src/pyssg/rss.py @@ -23,7 +23,7 @@ class RSSBuilder: # initial base replacements self.rss = self.rss.replace('$$TITLE', self.config.title) self.rss = self.rss.replace('$$LINK', self.config.base_url) - self.rss = self.rss.replace('$$PYSSGVERSION', VERSION) + self.rss = self.rss.replace('$$PYSSGVERSION', f'pyssg v{VERSION}') items_formatted: str = self.__get_items_formatted() self.rss = self.rss.replace('$$ITEMS', items_formatted) -- cgit v1.2.3-70-g09d2