mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-06-14 03:05:28 +00:00
Primitive check to see if we are running "live"
This commit is contained in:
@ -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 %}
|
||||||
|
Reference in New Issue
Block a user