website/templates/project.html
2023-11-19 00:56:48 +01:00

22 lines
539 B
HTML

{% extends "base.html" %}
{% block styles %}
<link rel="stylesheet" href="/project.css">
{% endblock styles %}
{% block content %}
<section class="project-wrapper flex-row">
<section class="left-bar flex-col">
<h2>Projects</h2>
{% set section = get_section(path=page.ancestors | last) %}
{% for project in section.pages %}
<a href="{{ project.permalink }}">{{project.title}}</a>
{% endfor %}
</section>
<section class="project-full">
{{ page.content | safe }}
</section>
</section>
{% endblock content %}