add basic strcture for testing sections

main
schweby 2022-01-06 01:00:32 +01:00 committed by stuebinm
parent 2ac546297c
commit 2d7192ba07
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,5 @@
+++
title = "List of our Servers"
sort_by = "title"
page_template = "doc-page.html"
+++

View File

@ -0,0 +1,6 @@
+++
title = "parsons"
+++
hier könnte content sein, aber das ist nur ein Platzhalter

15
templates/section.html Normal file
View File

@ -0,0 +1,15 @@
{% extends "index.html" %}
{% block content %}
<h1>{{ section.title }}</h1>
<p>{{ section.content | safe }}</p>
<p>Pages in section</p>
<ul>
{% for page in section.pages | reverse %}
<li>
<em> <a href="{{ page.permalink }}"> {{ page.title }} </a> </em>
</li>
{% endfor %}
</ul>
{% endblock content %}