From 765305ca30a142145c1fdf39072086c8502fe71c Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 6 Jun 2021 09:16:27 -0600 Subject: fix bug on image_url --- src/pyssg/page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pyssg/page.py b/src/pyssg/page.py index c87b237..6b83d39 100644 --- a/src/pyssg/page.py +++ b/src/pyssg/page.py @@ -98,7 +98,7 @@ class Page: try: self.image_url = \ - f'{self.config.static_url}/{self.meta["image_url"]}' + f'{self.config.static_url}/{self.meta["image_url"][0]}' except KeyError: self.image_url = \ f'{self.config.static_url}/{self.config.default_image_url}' -- cgit v1.2.3-70-g09d2