diff --git a/_includes/splide_image.html b/_includes/splide_image.html index fbf32ac..3dc90ed 100644 --- a/_includes/splide_image.html +++ b/_includes/splide_image.html @@ -1,13 +1,8 @@ -{% if 'readthedocs.org' in config.docs_dir %} -{% set assets = '/en/latest/assets' %} -{% else %} -{% set assets = '/assets' %} -{% endif %} {% if 'http' in src %} {% set img_url = src %} {% else %} -{% set img_url = assets + '/images/' + src %} +{% set img_url = config.assets_dir + '/images/' + src %} {% endif %}
  • diff --git a/docs/contribute.md b/docs/contribute.md index d0978f7..e4e35db 100644 --- a/docs/contribute.md +++ b/docs/contribute.md @@ -36,15 +36,9 @@ If you see any sections of the documentation that require work (i.e. denoted wit ### Donate -{% if 'readthedocs.org' in config.docs_dir %} -{% set assets = '/en/latest/assets' %} -{% else %} -{% set assets = '/assets' %} -{% endif %} - Finally, if you are unable to provide contributions as listed above, or you find InvenTree to be useful, please consider donating to support its ongoing development. [ Donate ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=T4M976M5URSUE¤cy_code=AUD){: .md-button .md-button--primary } -PayPal Logo +PayPal Logo Financial donations directly support the ongoing development of the InvenTree project. If you benefit from the InvenTree project, please consider contributing to maintain vibrant development of this software!