2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-15 03:25:32 +00:00

use link everywhere

This commit is contained in:
2021-11-09 00:26:34 +01:00
parent 00ba61c9bb
commit a6ae8a54fd
4 changed files with 8 additions and 6 deletions

View File

@ -6,7 +6,7 @@
<div class="inline-flex items-center">
<h1 class="sm:text-3xl text-2xl font-medium title-font mb-2 cm-gray-1">{{ include.data.header.title }}</h1>
{% if include.link %}
<a href="{{ include.link }}">{% include learn_more.html %}</a>
<a href="{% include link.html item=include.link %}">{% include learn_more.html %}</a>
{% endif %}
</div>
<div class="h-1 w-20 bg-secondary rounded"></div>
@ -23,7 +23,7 @@
<p class="leading-relaxed text-base">{{ item.description }}
{% if include.extend and item.extend %}<br><br>{{ item.extend }}{% endif %}
</p>
<a class="text-secondary inline-flex items-center" href="{{ item.link }}">Learn More {% include learn_more.html %}</a>
<a class="text-secondary inline-flex items-center" href="{% include link.html item=item.link %}">Learn More {% include learn_more.html %}</a>
</div>
</div>
{% endfor %}