website/templates/project.html

22 lines
539 B
HTML
Raw Normal View History

2023-06-17 15:58:42 +02:00
{% extends "base.html" %}
2023-08-29 10:08:14 +02:00
{% block styles %}
<link rel="stylesheet" href="/project.css">
{% endblock styles %}
2023-06-17 15:58:42 +02:00
{% block content %}
2023-08-29 10:08:14 +02:00
<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>
2023-06-17 15:58:42 +02:00
</section>
{% endblock content %}