website/templates/project.html

27 lines
614 B
HTML
Raw Permalink 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 %}
<section class="project-wrapper flex-col">
<!--
2023-08-29 10:08:14 +02:00
<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>
-->
2023-08-29 10:08:14 +02:00
<h2>{{ page.title }}</h2>
<div>
{{ page.content | safe }}
</div>
<a href="/projects">Back to list of projects</a>
2023-06-17 15:58:42 +02:00
</section>
{% endblock content %}