From 392eff116e3ee5165ad623a34bf8af8db68dae6b Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Tue, 10 Oct 2017 10:00:47 +0200 Subject: [PATCH] added default logo as fallback --- rowers/templates/workout_view.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rowers/templates/workout_view.html b/rowers/templates/workout_view.html index c364ed3d..d0f0c1a1 100644 --- a/rowers/templates/workout_view.html +++ b/rowers/templates/workout_view.html @@ -12,6 +12,7 @@ {% endif %} {% for graph in graphs1 %} {% block og_image %} +{% if graphs1 %} {% for graph in graphs1 %} @@ -19,7 +20,11 @@ -{% endfor %} + {% endfor %} + {% else %} + + + {% endif %} {% endblock %} {% block image_src %} {% for graph in graphs1 %}