add basic strcture for testing sections
This commit is contained in:
parent
2ac546297c
commit
2d7192ba07
3 changed files with 26 additions and 0 deletions
5
content/servers/_index.md
Normal file
5
content/servers/_index.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
title = "List of our Servers"
|
||||
sort_by = "title"
|
||||
page_template = "doc-page.html"
|
||||
+++
|
6
content/servers/parsons.md
Normal file
6
content/servers/parsons.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = "parsons"
|
||||
+++
|
||||
|
||||
|
||||
hier könnte content sein, aber das ist nur ein Platzhalter
|
15
templates/section.html
Normal file
15
templates/section.html
Normal 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 %}
|
Reference in a new issue