mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44:25 +04:00
39 lines
2.5 KiB
HTML
39 lines
2.5 KiB
HTML
{% if site.useIconfont -%}
|
|
<!-- BEGIN ICONFONT STYLES -->
|
|
<link href="https://www.unpkg.com/@tabler/icons-webfont@latest/dist/tabler-icons.min.css" rel="stylesheet" />
|
|
<!-- END ICON FONT STYLES -->
|
|
{% endif -%}
|
|
|
|
{% if page-libs -%}
|
|
<!-- BEGIN PAGE LEVEL STYLES -->
|
|
{% for lib in libs.css -%}
|
|
{% if page-libs contains lib[0] -%}
|
|
{% for file in lib[1] -%}
|
|
<link href="{% if file contains 'http://' or file contains 'https://' %}{{ file }}{% else %}{{ page | relative }}/libs/{% if environment != 'development' %}{{ file | replace: '@', '' }}{% else %}{{ file }}{% endif %}{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}{% endif %}" rel="stylesheet"/>
|
|
{% endfor -%}
|
|
{% endif -%}
|
|
{% endfor -%}
|
|
<!-- END PAGE LEVEL STYLES -->
|
|
{% endif %}
|
|
|
|
<!-- BEGIN GLOBAL MANDATORY STYLES -->
|
|
{% if layout-rtl -%}
|
|
<link href="{{ page | relative }}/dist/css/tabler-rtl{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"{% if environment != 'development' %} integrity="{{ sri.css-rtl }}"{% endif %} />
|
|
{% else -%}
|
|
<link href="{{ page | relative }}/dist/css/tabler{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"{% if environment != 'development' %} integrity="{{ sri.css }}"{% endif %} />
|
|
{% endif -%}
|
|
<!-- END GLOBAL MANDATORY STYLES -->
|
|
|
|
<!-- BEGIN PLUGINS STYLES -->
|
|
{% for plugin in site.tablerCssPlugins -%}
|
|
{% if layout-rtl -%}
|
|
<link href="{{ page | relative }}/dist/css/{{ plugin.name }}.rtl{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"{% if environment != 'development' %} integrity="{{ sri[`${plugin.sri}-rtl`] }}"{% endif %}/>
|
|
{% else -%}
|
|
<link href="{{ page | relative }}/dist/css/{{ plugin.name }}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"{% if environment != 'development' %} integrity="{{ sri[plugin.sri] }}"{% endif %}/>
|
|
{% endif -%}
|
|
{% endfor -%}
|
|
<!-- END PLUGINS STYLES -->
|
|
|
|
<!-- BEGIN DEMO STYLES -->
|
|
<link href="{{ page | relative }}/preview/css/demo{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"{% if environment != 'development' %} integrity="{{ sri.demo-css }}"{% endif %}/>
|
|
<!-- END DEMO STYLES --> |