HEX
Server: Apache
System: Linux srv4.garantili.com.tr 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: ekspardev (1006)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/ekspardev/public_html/tubisad/rapor/src/pages/_includes/ui/icon.html
{% removeemptylines %}

{% assign icon-name = include.icon %}

{% assign replace-to = "icon" %}

{% if include.class %}
{% assign replace-to = replace-to | append: ' ' | append: include.class %}
{% endif %}

{% if include.color %}
{% assign replace-to = replace-to | append: ' text-' | append: include.color %}
{% endif %}

{% if include.filled %}
{% assign replace-to = replace-to | append: ' icon-filled' %}
{% endif %}

{% if include.inline %}
{% assign replace-to = replace-to | append: ' icon-inline' %}
{% endif %}

{% if include['size'] %}
{% assign replace-to = replace-to | append: ' icon-' | append: include['size'] %}
{% endif %}

{% assign replace-to = 'class="' | append: replace-to | append: '"' %}

{% if site.use-iconfont %}
	<i class="icon ti ti-{{ icon-name }}{% if include.color %} {{ include.color }}{% endif %}{% if include.filled %} icon-filled{% endif %}{% if include.class %} {{ include.class }}{% endif %}"></i>
{% else %}
	<!-- Download SVG icon from http://tabler-icons.io/i/{{ icon-name }} -->
	{% assign svg-icon = site.data.icons[icon-name] | default: '' %}
	{{ svg-icon | replace_regex: 'class=\"[^"]+\"', replace-to }}
{% endif %}

{% endremoveemptylines %}