diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-06-06 09:16:27 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-06-06 09:16:27 -0600 |
commit | 765305ca30a142145c1fdf39072086c8502fe71c (patch) | |
tree | b52248db132f97e40d3dd0f1aaff528363f970a0 /src | |
parent | 111e431188e04c1ca44717aa7b8b4664d39d9493 (diff) |
fix bug on image_url
Diffstat (limited to 'src')
-rw-r--r-- | src/pyssg/page.py | 2 |
1 files changed, 1 insertions, 1 deletions
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}' |