Self-documenting docs site built with sukr itself (dogfooding): - docs/site.toml with sukr.io base URL - docs-specific templates with sidebar navigation - Dark theme CSS, responsive layout - Documentation: getting-started, configuration, features Also: improved error chaining for better template debugging
19 lines
559 B
HTML
19 lines
559 B
HTML
{% extends "base.html" %} {% block content %}
|
|
<article class="section-index">
|
|
<h1>{{ section.title }}</h1>
|
|
{% if section.description %}
|
|
<p class="lead">{{ section.description }}</p>
|
|
{% endif %}
|
|
<nav class="section-nav">
|
|
{% for item in items %}
|
|
<a href="{{ prefix }}{{ item.path }}" class="section-link">
|
|
<strong>{{ item.frontmatter.title }}</strong>
|
|
{% if item.frontmatter.description %}
|
|
<span>{{ item.frontmatter.description }}</span>
|
|
{% endif %}
|
|
</a>
|
|
{% endfor %}
|
|
</nav>
|
|
</article>
|
|
{% endblock content %}
|