From 68e1d7aa1d6add2164933556932cff7f8725ec9a Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 21 Sep 2020 23:22:17 +1000 Subject: [PATCH] Use the {{ base_url }} template variable --- _includes/img.html | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/_includes/img.html b/_includes/img.html index bfb8c91..2be73db 100644 --- a/_includes/img.html +++ b/_includes/img.html @@ -1,17 +1,12 @@ -{% if READTHEDOCS %} -{% set assets = '/en/latest/assets' %} -{% else %} -{% set assets = '/assets' %} -{% endif %}
{% if id %} {% elif url %} - + {% endif %} -