update
This commit is contained in:
@ -1,11 +1,22 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="/project.css">
|
||||
{% endblock styles %}
|
||||
|
||||
{% block content %}
|
||||
<section>
|
||||
<h1>{{ page.title }}</h1>
|
||||
{{ page.description }}
|
||||
</section>
|
||||
<section>
|
||||
{{ page.content | safe }}
|
||||
<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 %}
|
||||
|
||||
|
Reference in New Issue
Block a user