mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
bdcad38310
* Finishing up site * Make site a bit responsive * Fix menu responsiveness * Remove Fira Sans and revamp a bit text * Update list of syntax and change output of syntax * Add Rust mention * Some doc tweaks * Correct capitalization for GitHub Correct capitalization for GitHub * Some CSS tweaks * More css tweaks + favicon * Add link to my site
30 lines
1 KiB
HTML
30 lines
1 KiB
HTML
{% extends "index.html" %}
|
|
|
|
{% block extra_nav_class %}{% endblock extra_nav_class %}
|
|
{% block extra_content_class %}content--reversed{% endblock extra_content_class %}
|
|
|
|
{% block content %}
|
|
{% set section = get_section(path="documentation/_index.md") %}
|
|
<div class="documentation">
|
|
<aside class="documentation__sidebar">
|
|
<ul>
|
|
{% for subsection in section.subsections %}
|
|
<li>
|
|
<span class="documentation__sidebar__title">{{ subsection.title }}</span>
|
|
<ul>
|
|
{% for page in subsection.pages %}
|
|
<li class="{% if current_path == page.path %}active{% endif %}">
|
|
<a href="{{page.permalink}}">{{page.title}}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</aside>
|
|
<div class="documentation__content">
|
|
{% block doc_content %}
|
|
{% endblock doc_content %}
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|