summaryrefslogtreecommitdiff
path: root/templates/partials/list.html.twig
diff options
context:
space:
mode:
Diffstat (limited to 'templates/partials/list.html.twig')
-rw-r--r--templates/partials/list.html.twig9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/partials/list.html.twig b/templates/partials/list.html.twig
new file mode 100644
index 0000000..eb2f485
--- /dev/null
+++ b/templates/partials/list.html.twig
@@ -0,0 +1,9 @@
+<ul>
+ {% for current_page in page.children %}
+ <li>
+ <a href="{{ current_page.url|e }}">
+ {{ current_page.title|e }}
+ </a>
+ </li>
+ {% endfor %}
+</ul>