provisioning-outreach/presentations/rust-laspalmas-250926/auroraframe/framework/templates/markdown/documentation.html

147 lines
5.4 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang="{{ page.lang | default(value="en") }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }}{% if site.title %} - {{ site.title }}{% endif %}</title>
{% if page.description %}
<meta name="description" content="{{ page.description }}">
{% endif %}
{% if page.keywords %}
<meta name="keywords" content="{{ page.keywords | join(sep=", ") }}">
{% endif %}
<!-- Documentation metadata -->
<meta name="generator" content="Web Builder Framework">
{% if page.version %}
<meta name="version" content="{{ page.version }}">
{% endif %}
<!-- CSS will be injected here by the build system -->
<link rel="stylesheet" href="assets/css/main.min.css">
</head>
<body class="docs-page">
<div class="docs-layout">
{% if page.show_sidebar | default(value=true) %}
<aside class="docs-sidebar">
{% if site.title %}
<div class="docs-brand">
<h1>{{ site.title }}</h1>
{% if site.version %}
<span class="version">v{{ site.version }}</span>
{% endif %}
</div>
{% endif %}
{% if navigation %}
<nav class="docs-nav">
{{ navigation | safe }}
</nav>
{% endif %}
{% if page.toc and toc %}
<nav class="page-toc">
<h3>On this page</h3>
{{ toc | safe }}
</nav>
{% endif %}
</aside>
{% endif %}
<main class="docs-main">
<div class="docs-container">
<header class="docs-header">
{% if page.breadcrumbs %}
<nav class="breadcrumbs">
{% for crumb in page.breadcrumbs %}
{% if loop.last %}
<span class="current">{{ crumb.title }}</span>
{% else %}
<a href="{{ crumb.url }}">{{ crumb.title }}</a>
<span class="separator">/</span>
{% endif %}
{% endfor %}
</nav>
{% endif %}
{% if page.title %}
<h1 class="docs-title">{{ page.title }}</h1>
{% endif %}
{% if page.description %}
<p class="docs-description">{{ page.description }}</p>
{% endif %}
<div class="docs-meta">
{% if page.version %}
<span class="doc-version">Version: {{ page.version }}</span>
{% endif %}
{% if page.last_updated %}
<span class="last-updated">
Updated: <time datetime="{{ page.last_updated }}">{{ page.last_updated | date(format="%B %d, %Y") }}</time>
</span>
{% endif %}
{% if page.difficulty %}
<span class="difficulty difficulty-{{ page.difficulty }}">{{ page.difficulty | title }}</span>
{% endif %}
</div>
{% if page.tags %}
<div class="docs-tags">
{% for tag in page.tags %}
<span class="tag">{{ tag }}</span>
{% endfor %}
</div>
{% endif %}
</header>
<div class="docs-content">
{{ content | safe }}
</div>
{% if page.show_footer | default(value=true) %}
<footer class="docs-footer">
{% if page.edit_url %}
<div class="edit-page">
<a href="{{ page.edit_url }}" target="_blank">Edit this page</a>
</div>
{% endif %}
{% if page.next_page or page.prev_page %}
<nav class="page-navigation">
{% if page.prev_page %}
<a href="{{ page.prev_page.url }}" class="prev-page">
<span class="nav-label">Previous</span>
<span class="nav-title">{{ page.prev_page.title }}</span>
</a>
{% endif %}
{% if page.next_page %}
<a href="{{ page.next_page.url }}" class="next-page">
<span class="nav-label">Next</span>
<span class="nav-title">{{ page.next_page.title }}</span>
</a>
{% endif %}
</nav>
{% endif %}
{% if page.contributors %}
<div class="contributors">
<h4>Contributors</h4>
<ul>
{% for contributor in page.contributors %}
<li>{{ contributor }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
</footer>
{% endif %}
</div>
</main>
</div>
<!-- JavaScript will be injected here by the build system -->
</body>
</html>