diff --git a/readthedocs_theme/templates/article.html b/readthedocs_theme/templates/article.html index c40d71e4..7406ee94 100644 --- a/readthedocs_theme/templates/article.html +++ b/readthedocs_theme/templates/article.html @@ -53,7 +53,7 @@
- {{ article.image }} + {{ article.image_credit|striptags }} {% if article.image and article.image_credit %}

{{ article.image_credit}}

diff --git a/readthedocs_theme/templates/index.html b/readthedocs_theme/templates/index.html index 133bb3f5..bb438f94 100644 --- a/readthedocs_theme/templates/index.html +++ b/readthedocs_theme/templates/index.html @@ -8,7 +8,7 @@ {% macro article_card(article) %}
- {{ article.image }} + {{ article.image_credit|striptags }}
{{ article.title }}