1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-23 05:51:42 +04:00

sponsor project link

This commit is contained in:
codecalm
2022-04-25 12:09:30 +02:00
parent 06ce100b37
commit 6a1f8ff5a8
2 changed files with 11 additions and 1 deletions
+5
View File
@@ -239,3 +239,8 @@ help:
source-code:
url: https://github.com/tabler/tabler
title: Source code
sponsor:
color: pink
icon: heart
url: https://github.com/sponsors/codecalm
title: Sponsor project!
+6 -1
View File
@@ -48,7 +48,12 @@
{% if level-2[1].children %}<div class="dropend">{% endif %}
<a class="dropdown-item{% if level-2[1].children %} dropdown-toggle{% endif %}{% if level-1[0] == current-page[0] and level-2[0] == current-page[1] and current-page.size == 2 %} active{% endif %}" {% if level-2[1].children %}href="#sidebar-{{ level-2[0] }}" data-bs-toggle="dropdown" data-bs-auto-close="{% if include.keep-open %}false{% else %}outside{% endif %}" role="button" aria-expanded="false" {% else %}href="{% if level-2[1].url contains 'http://' or level-2[1].url contains 'https://'%}{{ level-2[1].url }}{% else %}{{ site.base }}/{{ level-2[1].url }}{% endif %}"{% endif %}{% if level-2[1].url contains 'http://' or level-2[1].url contains 'https://'%} target="_blank" rel="noopener"{% endif %}>
<a class="dropdown-item{% if level-2[1].children %} dropdown-toggle{% endif %}{% if level-1[0] == current-page[0] and level-2[0] == current-page[1] and current-page.size == 2 %} active{% endif %}{% if level-2[1].color %} text-{{ level-2[1].color }}{% endif %}" {% if level-2[1].children %}href="#sidebar-{{ level-2[0] }}" data-bs-toggle="dropdown" data-bs-auto-close="{% if include.keep-open %}false{% else %}outside{% endif %}" role="button" aria-expanded="false" {% else %}href="{% if level-2[1].url contains 'http://' or level-2[1].url contains 'https://'%}{{ level-2[1].url }}{% else %}{{ site.base }}/{{ level-2[1].url }}{% endif %}"{% endif %}{% if level-2[1].url contains 'http://' or level-2[1].url contains 'https://'%} target="_blank" rel="noopener"{% endif %}>
{% if level-2[1].icon %}
{% assign icon = level-2[1].icon %}
{% include ui/icon.html icon=icon class="icon-inline me-1" %}
{% endif %}
{{ level-2[1].title }}
{% if level-2[1].badge %}