2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +00:00

Merge pull request #8 from SchrodingersGat/asset-check

Primitive check to see if we are running "live"
This commit is contained in:
Oliver 2020-09-23 08:54:53 +10:00 committed by GitHub
commit b45f801e47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,8 @@
{% if 'readthedocs.org' in config.docs_dir %}
{% set assets = '/en/latest/assets' %} {% set assets = '/en/latest/assets' %}
{% else %}
{% set assets = '/assets' %}
{% endif %}
<figure class='image'> <figure class='image'>
{% if id %} {% if id %}