From 111e431188e04c1ca44717aa7b8b4664d39d9493 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 5 Jun 2021 03:40:49 -0600 Subject: fix another bug --- ChangeLog | 5 +++++ src/pyssg/page.py | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0322adb..d6a6983 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ CHANGES ======= +v0.5.4 +------ + +* fix bug + v0.5.3 ------ diff --git a/src/pyssg/page.py b/src/pyssg/page.py index 43acb05..c87b237 100644 --- a/src/pyssg/page.py +++ b/src/pyssg/page.py @@ -98,10 +98,10 @@ class Page: try: self.image_url = \ - f'{self.config.base_static_url}/{self.meta["image_url"]}' + f'{self.config.static_url}/{self.meta["image_url"]}' except KeyError: self.image_url = \ - f'{self.config.base_static_url}/{self.config.default_image_url}' + f'{self.config.static_url}/{self.config.default_image_url}' # if contains open graph elements try: -- cgit v1.2.3-70-g09d2