diff --git a/agenda/thespacedevs.py b/agenda/thespacedevs.py index e296e54..b839065 100644 --- a/agenda/thespacedevs.py +++ b/agenda/thespacedevs.py @@ -145,6 +145,7 @@ def summarize_launch(launch: Launch) -> Summary: "orbit": get_nested(launch, ["mission", "orbit"]), "probability": launch["probability"], "weather_concerns": launch["weather_concerns"], + "image": launch.get("image"), } diff --git a/templates/launches.html b/templates/launches.html index 47dbd05..09be1f7 100644 --- a/templates/launches.html +++ b/templates/launches.html @@ -72,6 +72,11 @@
+ {% if launch.image %} +
+ +
+ {% endif %} {{ country.flag }} {{ launch.rocket.full_name }} –