2022-01-25 14:27:39 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block title %}
|
2022-09-14 17:33:05 +00:00
|
|
|
{% if page %}{{ page.title }}{% else %}{{ section.title }}{% endif %} | {{ config.title }}
|
2022-01-25 14:27:39 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2022-01-31 11:44:47 +00:00
|
|
|
{% if not page %}
|
|
|
|
{% set page = section %}
|
|
|
|
{% endif %}
|
2022-01-29 13:42:09 +00:00
|
|
|
<section id="documentation-section" class="section overflow-x-hidden">
|
2022-01-26 13:44:47 +00:00
|
|
|
<div class="grid grid-cols-1 xl:grid-cols-5">
|
|
|
|
{% include "partials/doc/global_toc.html" %}
|
2022-01-27 17:10:37 +00:00
|
|
|
<div class="col-span-full xl:col-span-3" style="min-height:85vh;">
|
2024-01-17 14:27:55 +00:00
|
|
|
|
|
|
|
<div class="pt-8">
|
|
|
|
{% include "partials/shared/community_survey.html" %}
|
|
|
|
</div>
|
|
|
|
|
2022-01-27 10:28:21 +00:00
|
|
|
<article class="box my-12 px-6 lg:px-8 xl:px-12">
|
2022-01-31 17:43:17 +00:00
|
|
|
<div class="flex flex-col mb-10 bg-gray-100 rounded-r shadow-sm w-full xl:w-max">
|
2022-01-26 13:44:47 +00:00
|
|
|
<div class="flex flex-col border-l-4 border-garage-orange py-2 px-4 relative">
|
2022-01-27 10:28:21 +00:00
|
|
|
<h1 class="title leading-10 text-xl lg:text-2xl xl:text-3xl text-garage-orange font-semibold">
|
2022-01-26 13:44:47 +00:00
|
|
|
{{ page.title }}
|
|
|
|
</h1>
|
|
|
|
{% if page.description %}
|
|
|
|
<p class="subtitle my-2 text-gray-600 italic text-sm">{{ page.description }}</p>
|
|
|
|
{% endif %}
|
|
|
|
{% if page.reading_time %}
|
|
|
|
<p
|
|
|
|
class="subtitle flex items-center space-x-1 my-2 text-gray-600 italic text-sm"
|
|
|
|
title="{{ page.reading_time }} min reading time">
|
|
|
|
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
|
|
|
|
<span>{{ page.reading_time }} min</span>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-01-25 14:27:39 +00:00
|
|
|
</div>
|
2022-01-26 13:44:47 +00:00
|
|
|
<div class="page-content max-w-4xl">
|
|
|
|
{{ page.content | safe }}
|
2022-01-25 14:27:39 +00:00
|
|
|
</div>
|
2022-01-26 13:44:47 +00:00
|
|
|
</article>
|
2022-01-25 14:27:39 +00:00
|
|
|
</div>
|
2022-01-26 13:44:47 +00:00
|
|
|
{% include "partials/doc/page_toc.html" %}
|
2022-01-25 14:27:39 +00:00
|
|
|
</div>
|
2022-01-26 13:44:47 +00:00
|
|
|
<div class="2xl:hidden">
|
2022-01-31 15:28:01 +00:00
|
|
|
{% if page.earlier or page.later or page.lighter or page.heavier or page.pages %}
|
|
|
|
{% include "partials/doc/pagination.html" %}
|
|
|
|
{% elif page.ancestors and page.ancestors | length == 3 %}
|
2022-01-26 13:44:47 +00:00
|
|
|
{% include "partials/doc/pagination.html" %}
|
|
|
|
{% endif %}
|
2022-01-25 14:27:39 +00:00
|
|
|
</div>
|
2022-01-26 13:44:47 +00:00
|
|
|
</section>
|
2022-01-25 14:27:39 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block custom_js %}
|
2022-01-31 11:44:47 +00:00
|
|
|
{% if not page %}
|
|
|
|
{% set page = section %}
|
|
|
|
{% endif %}
|
2022-01-26 13:44:47 +00:00
|
|
|
{% if page.toc %}
|
2022-01-31 17:43:17 +00:00
|
|
|
{% include "partials/doc/page_toc_script.html" %}
|
2022-01-26 13:44:47 +00:00
|
|
|
{% endif %}
|
2022-01-31 17:43:17 +00:00
|
|
|
{% include "partials/doc/global_toc_script.html" %}
|
2022-01-31 11:44:47 +00:00
|
|
|
{% endblock %}
|