css.html 1.7 KB

1234567891011121314151617181920212223242526272829303132
  1. {% if site.useIconfont %}
  2. <!-- BEGIN ICONFONT STYLES -->
  3. <link href="https://www.unpkg.com/@tabler/icons-webfont@latest/dist/tabler-icons.min.css" rel="stylesheet" />
  4. <!-- END ICON FONT STYLES -->
  5. {% endif %}
  6. {% if page-libs %}
  7. <!-- BEGIN PAGE LEVEL STYLES -->
  8. {% for lib in libs.css %}
  9. {% if page-libs contains lib[0] %}
  10. {% for file in lib[1] %}
  11. <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"/>
  12. {% endfor %}
  13. {% endif %}
  14. {% endfor %}
  15. <!-- END PAGE LEVEL STYLES -->
  16. {% endif %}
  17. <!-- BEGIN GLOBAL MANDATORY STYLES -->
  18. <link href="{{ page | relative }}/dist/css/tabler{% if layout-rtl %}.rtl{% endif %}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"/>
  19. <!-- END GLOBAL MANDATORY STYLES -->
  20. <!-- BEGIN PLUGINS STYLES -->
  21. {% for plugin in site.tablerCssPlugins %}
  22. <link href="{{ page | relative }}/dist/css/{{ plugin }}{% if layout-rtl %}.rtl{% endif %}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"/>
  23. {% endfor %}
  24. <!-- END PLUGINS STYLES -->
  25. <!-- BEGIN DEMO STYLES -->
  26. <link href="{{ page | relative }}/preview/css/demo{% if layout-rtl %}.rtl{% endif %}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"/>
  27. <!-- END DEMO STYLES -->