mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-11-04 12:30:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			103 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			103 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						||
<html lang="en">
 | 
						||
    <head>
 | 
						||
        {% include "meta.html" %}
 | 
						||
        <title>{{ page.title }} – Docspell Documentation</title>
 | 
						||
        <link rel="stylesheet" href="/styles.css">
 | 
						||
        {% include "search-head.html" %}
 | 
						||
    </head>
 | 
						||
    <body>
 | 
						||
        <section class="hero is-info is-small">
 | 
						||
            <div class="hero-head">
 | 
						||
                {% include "navbar.html" %}
 | 
						||
            </div>
 | 
						||
            <div class="hero-body">
 | 
						||
                <div class="columns is-vcentered">
 | 
						||
                    <div class="column is-8">
 | 
						||
                        <h1 class="title">
 | 
						||
                            {{ page.title }}
 | 
						||
                        </h1>
 | 
						||
                        <h2 class="subtitle">
 | 
						||
                            Docspell Documentation
 | 
						||
                        </h2>
 | 
						||
                    </div>
 | 
						||
                    <div class="column">
 | 
						||
                        <id id="search"></id>
 | 
						||
                    </div>
 | 
						||
                </div>
 | 
						||
            </div>
 | 
						||
        </section>
 | 
						||
        <nav class="breadcrumb has-succeeds-separator" aria-label="breadcrumbs">
 | 
						||
            <ul>
 | 
						||
                {% for parent in page.ancestors %}
 | 
						||
                {% set s = get_section(path = parent, metadata_only = true) %}
 | 
						||
                <li>
 | 
						||
                    <a href="{{ s.permalink }}">{{ s.title }}</a>
 | 
						||
                </li>
 | 
						||
                {% endfor %}
 | 
						||
                <li>
 | 
						||
                    <a href="{{ page.permalink }}">{{ page.title }}</a>
 | 
						||
                </li>
 | 
						||
            </ul>
 | 
						||
        </nav>
 | 
						||
 | 
						||
        <section class="section pt-2">
 | 
						||
            <div class="columns is-desktop">
 | 
						||
                <div class="column is-3">
 | 
						||
                    <div class="menu">
 | 
						||
                        <ul class="menu-list">
 | 
						||
                            {% set last = page.ancestors | last %}
 | 
						||
                            {% set s = get_section(path=last) %}
 | 
						||
 | 
						||
                            <p class="menu-label">
 | 
						||
                                {{ s.title }}
 | 
						||
                            </p>
 | 
						||
                            {% for sub in s.pages %}
 | 
						||
                            {% set sub_is_current = page.permalink == sub.permalink %}
 | 
						||
                            <li>
 | 
						||
                                <a href="{{ sub.permalink | safe }}"
 | 
						||
                                   {% if sub_is_current %}class="is-active"{% endif %}>
 | 
						||
                                    {{ sub.title | title }}
 | 
						||
                                </a>
 | 
						||
                                {% if sub_is_current %}
 | 
						||
                                <ul class="menu-list">
 | 
						||
                                    {% for header in page.toc %}
 | 
						||
                                    <li>
 | 
						||
                                        <a href="{{ header.permalink }}">
 | 
						||
                                            {{ header.title }}
 | 
						||
                                        </a>
 | 
						||
                                        <ul>
 | 
						||
                                            {% for subhead in header.children %}
 | 
						||
                                            <li>
 | 
						||
                                                <a href="{{ subhead.permalink }}">
 | 
						||
                                                    {{ subhead.title }}
 | 
						||
                                                </a>
 | 
						||
                                            </li>
 | 
						||
                                            {% endfor %}
 | 
						||
                                        </ul>
 | 
						||
                                    </li>
 | 
						||
                                    {% endfor %}
 | 
						||
                                </ul>
 | 
						||
                                {% endif %}
 | 
						||
                            </li>
 | 
						||
                            {% endfor %}
 | 
						||
                        </ul>
 | 
						||
                    </div>
 | 
						||
                </div>
 | 
						||
 | 
						||
                <div class="column is-9">
 | 
						||
                    <div class="container">
 | 
						||
                        <div class="content doc">
 | 
						||
                            {{ page.content | safe }}
 | 
						||
                        </div>
 | 
						||
                    </div>
 | 
						||
                </div>
 | 
						||
            </div>
 | 
						||
        </section>
 | 
						||
 | 
						||
        {% include "footer.html" %}
 | 
						||
    </body>
 | 
						||
    {% include "search-part.html" %}
 | 
						||
    {% include "fathom.html" %}
 | 
						||
</html>
 |