1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-26 04:54:40 +04:00

breadcrumb fixes

This commit is contained in:
codecalm
2019-07-09 19:54:30 +02:00
parent 846beb79d0
commit bd7b8be915
5 changed files with 18 additions and 6 deletions
+3 -3
View File
@@ -9,14 +9,14 @@ page-title: Documentation
<div class="row justify-content-center">
<div class="col-lg-3 order-lg-1 mb-4">
<a href="{{ site.github_url }}" class="btn btn-block btn-primary mb-4" target="_blank">
{% include ui/icon.html icon="github" provider="fas" class="mr-2" %}Browse source code
{% include ui/icon.html icon="github" class="mr-2" %}Browse source code
</a>
<div class="list-group list-group-transparent mb-0">
{% for p in site.data.docs %}
{% assign doc = site.docs | where: "slug", p.page | first %}
<a href="{{ site.base }}{{ doc.url | relative_url }}" class="list-group-item list-group-item-action{% if page.url == doc.url %} active{% endif %}">
{{ doc.title }}
{{ doc.title }}{% if doc.done %} {% include ui/icon.html icon="check" color="green" %}{% endif %}
</a>
{% endfor %}
</div>
@@ -26,7 +26,7 @@ page-title: Documentation
<div class="card-body p-lg-8">
<div class="markdown">
<h2 class="h1 mt-0 mb-4">{{ page.title }}</h2>
<h2 class="h1 mt-0 mb-4">{{ page.title }}{% if page.done %} {% include ui/icon.html icon="check" color="green" %}{% endif %}</h2>
{% if page.description %}
<p>{{ page.description }}</p>