mirror of
https://github.com/inventree/inventree-docs.git
synced 2026-10-03 08:11:15 +00:00
Merge pull request #8 from SchrodingersGat/asset-check
Primitive check to see if we are running "live"
This commit is contained in:
1 file changed
+4
@@ -1,4 +1,8 @@
|
||||
{% if 'readthedocs.org' in config.docs_dir %}
|
||||
{% set assets = '/en/latest/assets' %}
|
||||
{% else %}
|
||||
{% set assets = '/assets' %}
|
||||
{% endif %}
|
||||
|
||||
<figure class='image'>
|
||||
{% if id %}
|
||||
|
||||
Reference in new issue
Block a user