add basic strcture for testing sections
parent
2ac546297c
commit
2d7192ba07
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
title = "List of our Servers"
|
||||
sort_by = "title"
|
||||
page_template = "doc-page.html"
|
||||
+++
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = "parsons"
|
||||
+++
|
||||
|
||||
|
||||
hier könnte content sein, aber das ist nur ein Platzhalter
|
|
@ -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 %}
|
Reference in New Issue