diff --git a/rowers/templates/workout_form.html b/rowers/templates/workout_form.html index f7a10823..65420ad6 100644 --- a/rowers/templates/workout_form.html +++ b/rowers/templates/workout_form.html @@ -5,8 +5,11 @@ {% get_current_timezone as TIME_ZONE %} {% block title %}{{ workout.name }}{% endblock %} +{% block og_title %}{{ workout.name }}{% endblock %} {% block description %}{{ workout.name }} {{ workout.date }} - {{ workout.distance }}m - {{ workout.duration |durationprint:"%H:%M:%S.%f" }}{% endblock %} +{% block og_description %}{{ workout.name }} +{{ workout.date }} - {{ workout.distance }}m - {{ workout.duration |durationprint:"%H:%M:%S.%f" }}{% endblock %} {% block content %}
diff --git a/rowers/templates/workout_view.html b/rowers/templates/workout_view.html index 3af4bbac..1e0d80d9 100644 --- a/rowers/templates/workout_view.html +++ b/rowers/templates/workout_view.html @@ -3,9 +3,19 @@ {% load rowerfilters %} {% block title %}{{ workout.name }} {% endblock %} +{% block og_title %}{{ workout.name }} {% endblock %} {% block description %}{{ workout.name }} {{ workout.date }} - {{ workout.distance }}m - {{ workout.duration |durationprint:"%H:%M:%S.%f" }}{% endblock %} +{% block og_description %}{{ workout.name }} +{{ workout.date }} - {{ workout.distance }}m - {{ workout.duration |durationprint:"%H:%M:%S.%f" }}{% endblock %} +{% if graphs1 %} +{% endif %} {% for graph in graphs1 %} +{% block og_image %} +{% for graph in graphs1 %} + +{% endfor %} +{% endblock %} {% block image_src %} {% for graph in graphs1 %} diff --git a/templates/basebase.html b/templates/basebase.html index 168e3392..aca81e16 100644 --- a/templates/basebase.html +++ b/templates/basebase.html @@ -26,6 +26,14 @@ {% block title %}Rowsandall Rowing Data Analytics{% endblock %} {% block image_src %}{% endblock %} + + {% block og_image %} + + {% endblock %} + + + +