summaryrefslogtreecommitdiff
path: root/templates/partials/list.html.twig
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-12-14 01:22:21 -0500
committersowgro <tpoke.ferrari@gmail.com>2023-12-14 01:22:21 -0500
commit606af5568e839f8bc6651ac1d43f711f00b1b3aa (patch)
treef77899fc48b17e71e0eb99137e0a778ad41e7e77 /templates/partials/list.html.twig
parent07b67eee74df0914754b760ab1178f1d2f374bbd (diff)
downloadgrav-sowtheme-606af5568e839f8bc6651ac1d43f711f00b1b3aa.tar.gz
grav-sowtheme-606af5568e839f8bc6651ac1d43f711f00b1b3aa.tar.bz2
grav-sowtheme-606af5568e839f8bc6651ac1d43f711f00b1b3aa.zip
theme v4
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>