add owid plot if exist in the html template

This commit is contained in:
2022-10-16 16:08:54 +00:00
parent 160215950c
commit 978d051e09
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -100,6 +100,12 @@
{% endfor %}
{% endfor %}
</div>
{% if owid_path != "" %}
<hr/>
<h3>OWID - Our World In Data</h3>
<h4>NOTE: ces données sont issues de <a href="https://github.com/owid/covid-19-data/tree/master/public/data">OWID</a>, un mélange et un traitement de plusieurs jeu de données</h4>
<img src="{{ static }}/plots/{{ owid_path }}"/>
{% endif %}
</div>
</body>
</html>