website/templates/post.html

33 lines
759 B
HTML
Raw Normal View History

2024-10-03 02:45:34 +02:00
{% extends "base.html" %}
{% block styles %}
<link rel="stylesheet" href="/project.css">
{% endblock styles %}
2024-10-15 11:11:08 +02:00
{% block scripts %}
<script src="/js/code-copy.js" defer></script>
{% endblock scripts %}
2024-10-03 02:45:34 +02:00
{% block content %}
<section class="project-wrapper flex-col">
<h2>{{ page.title }}</h2>
2024-10-03 02:45:34 +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>
-->
2024-10-14 01:15:41 +02:00
<!-- <h2>{{ page.title }}</h2> -->
2024-10-03 02:45:34 +02:00
<div>
{{ page.content | safe }}
</div>
2024-10-14 16:52:45 +02:00
<a href="/posts" class="link-back">Back to list of posts</a>
2024-10-03 02:45:34 +02:00
</section>
{% endblock content %}