summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-06 09:16:27 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-06 09:16:27 -0600
commit765305ca30a142145c1fdf39072086c8502fe71c (patch)
treeb52248db132f97e40d3dd0f1aaff528363f970a0 /src
parent111e431188e04c1ca44717aa7b8b4664d39d9493 (diff)
fix bug on image_url
Diffstat (limited to 'src')
-rw-r--r--src/pyssg/page.py2
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}'