UNPKG

tabler-ui

Version:

Premium and Open Source dashboard template with responsive and high quality UI. For Free!

58 lines (48 loc) 1.6 kB
--- layout: default menu: docs title: Documentation --- <div class="container"> {% include page-title.html title="Documentation" %} <div class="row"> <div class="col-lg-3 order-lg-1 mb-4"> <a href="{{ site.github_url }}" class="btn btn-block btn-primary mb-6"> <i class="fe fe-github mr-2"></i>Browse source code </a> {% for group in site.docs-menu %} <!-- {{ group.title }} --> <div class="list-group list-group-transparent mb-0"> {% for p in group.pages %} {% assign doc = site.docs | where: "slug", p | first %} <a href="{{ site.base }}{{ doc.url }}" class="list-group-item list-group-item-action{% if page.url == doc.url %} active{% endif %}"><span class="icon mr-3"><i class="{{ doc.icon }}"></i></span>{{ doc.title }}</a> {% endfor %} </div> {% endfor %} <div class="d-none d-lg-block mt-6"> <a href="{{ site.github_url }}/edit/dev/src/{{ page.path }}" class="text-muted">Edit this page</a> </div> </div> <div class="col-lg-9"> <div class="card"> <div class="card-body"> <div class="text-wrap p-lg-6"> <h2 class="mt-0 mb-4">{{ page.title }}</h2> {% if page.description %} <p>{{ page.description }}</p> {% endif %} {% if page.in_progress %} <div class="alert alert-primary mt-5 mb-6"> <div><strong>Work in progress!</strong> More detailed documentation is coming soon.</div> </div> {% endif %} {% if page.toc %} {{ content | toc_only }} {% endif %} {{ content | toc_generate }} </div> </div> </div> </div> </div> </div>