docspell/website/site/templates/pages.html

78 lines
2.7 KiB
HTML
Raw Normal View History

2020-07-27 20:13:22 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
2020-07-30 23:14:09 +00:00
{% include "meta.html" %}
<title>{{ section.title }} Docspell Documentation</title>
2020-07-27 20:13:22 +00:00
<link rel="stylesheet" href="/styles.css">
2020-09-29 22:17:18 +00:00
{% include "search-head.html" %}
2020-07-27 20:13:22 +00:00
</head>
<body>
<section class="hero is-info is-small">
<div class="hero-head">
{% include "navbar.html" %}
</div>
<div class="hero-body">
2020-09-29 22:17:18 +00:00
<div class="columns is-vcentered">
<div class="column is-8">
<h1 class="title">
Docspell Documentation
</h1>
<h2 class="subtitle">
{{ section.title }}
</h2>
</div>
<div class="column">
<div id="search"></div>
</div>
</div>
2020-07-27 20:13:22 +00:00
</div>
</section>
<nav class="breadcrumb has-succeeds-separator" aria-label="breadcrumbs"
style="position:sticky; top: 0; z-index:10;" >
2020-07-27 20:13:22 +00:00
<ul>
{% for parent in section.ancestors %}
{% set s = get_section(path = parent, metadata_only = true) %}
<li>
<a href="{{ s.permalink }}">{{ s.title }}</a>
</li>
{% endfor %}
<li>
<a href="{{ section.permalink }}">{{ section.title }}</a>
</li>
</ul>
</nav>
<div class="container">
<div class="columns">
<div class="column is-3">
<aside class="menu"
style="position:sticky; top:2rem; z-index:10;">
2020-07-27 20:13:22 +00:00
<p class="menu-label">
Contents
</p>
<ul class="menu-list">
{% for page in section.pages %}
<li>
<a href="{{page.permalink | safe}}">
{{ page.title | title }}
</a>
</li>
{% endfor %}
</ul>
</aside>
</div>
<div class="column is-9">
<div class="content">
{{ section.content | safe }}
</div>
</div>
</div>
</div>
{% include "footer.html" %}
{% include "search-part.html" %}
{% include "fathom.html" %}
2020-07-27 20:13:22 +00:00
</body>
</html>