bulma/docs/_layouts/docs.html

52 lines
1.4 KiB
HTML
Raw Normal View History

2024-03-21 16:11:54 +00:00
---
layout: default
route: documentation
---
{% assign current_category = page['doc-tab'] %}
{% assign current_link_id = page.breadcrumb | last %}
{% assign current_link = site.data.links.by_id[current_link_id] %}
{% assign subtitle = current_link.subtitle %}
{% include global/header.html %}
<main id="js-docs" class="bd-docs {% if page.fullwidth %}is-fullwidth{% endif %}">
<div class="bd-docs-overlay js-toggle" data-target="js-docs"></div>
<button id="js-menu-toggle" class="button bd-docs-button js-toggle" data-target="js-docs">
2024-03-23 19:25:04 +00:00
<i class="fas fa-arrow-right-from-bracket"></i>
2024-03-21 16:11:54 +00:00
</button>
<div class="bd-docs-menu">
{% include docs/menu.html %}
</div>
<div class="bd-docs-lead bd-theme-{{ page.theme }}">
{% assign title = page.title | markdownify %}
{% assign subtitle = subtitle | markdownify %}
{%
include docs/hero.html
variant="docs"
title=title
subtitle=subtitle
prints=page.hero_prints
%}
2024-03-23 19:25:04 +00:00
<div class="bd-docs-content algolia-content">
2024-03-21 16:11:54 +00:00
{% if page.markdown %}
<div class="content">{{ content }}</div>
{% else %}
{{ content }}
{% endif %}
{% if page.meta.variables %}
{% include docs/components/variables.html %}
{% endif %}
2024-03-21 16:11:54 +00:00
</div>
{% include docs/components/pagination.html %}
</div>
</main>
<script type="text/javascript" src="{{ site.url }}/assets/javascript/docs.js"></script>