13 lines
365 B
HTML
13 lines
365 B
HTML
|
{% comment %} Site static assets origin {% endcomment %}
|
||
|
{% assign origin = 'cross_origin' %}
|
||
|
|
||
|
{% if site.assets.self_host.enabled %}
|
||
|
{% if site.assets.self_host.env %}
|
||
|
{% if site.assets.self_host.env == jekyll.environment %}
|
||
|
{% assign origin = 'self_host' %}
|
||
|
{% endif %}
|
||
|
{% else %}
|
||
|
{% assign origin = 'self_host' %}
|
||
|
{% endif %}
|
||
|
{% endif %}
|